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