Django-views View

Source: Internet
Author: User

Request the life cycle of the page content:

Response Header Action:

The information obtained from the request is obtained from the From Jdango.core.handlers.wsgi import Wsgirequest, which is mainly obtained from the environ environment variable and can be print Request.environ found all the user request information, including the header and body parts of the information, the Django system will itself process the extraction of information, such as Post,get, and Environ is a dictionary, containing all the information sent by users,

In addition, when the cookie is passed, the cookie content is returned to the user's response header, and other parameters can be passed when the cookie is returned, for example: response[' name ']= ' CZK ', so that when the server returns a cookie, A NAME=CZK message is added to the response header of the client page.

Django-views View

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.