request.META是一个字典,包含了本次请求header的所有信息 ALLUSERSPROFILE C:\ProgramData COMMONPROGRAMFILES C:\Program Files\Common Files COMSPEC C:\windows\system32\cmd.exe CONFIGSETROOT C:\windows\ConfigSetRoot CONTENT_LENGTH CONTENT_TYPE text/plain CSRF_COOKIE 8dLJLZyBH801ba24VdzYqJ81b5nqTxh0 DJANGO_SETTINGS_MODULE PythonProject.settings FP_NO_HOST_CHECK NO GATEWAY_INTERFACE CGI/1.1 HOMEDRIVE C: HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING gzip,deflate,sdch HTTP_ACCEPT_LANGUAGE zh-CN,zh;q=0.8 HTTP_CONNECTION keep-alive HTTP_COOKIE csrftoken=8dLJLZyBH801ba24VdzYqJ81b5nqTxh0; sessionid=1rf6hmdw7k0zzsg8q3q1lw2j75gmoood HTTP_HOST 127.0.0.1:8000 HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 NUMBER_OF_PROCESSORS 4 OS Windows_NT PATH E:\Python;E:\Python\Scripts;C:\windows\system32;E:\Python PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PATH_INFO /display_meta/ PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER Intel64 Family 6 Model 42 Stepping 7, GenuineIntel PROCESSOR_LEVEL 6 PROCESSOR_REVISION 2a07 PROMPT $P$G PSMODULEPATH C:\windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC C:\Users\Public QUERY_STRING REMOTE_ADDR 127.0.0.1 REMOTE_HOST REQUEST_METHOD GET RUN_MAIN true SERVER_PROTOCOL HTTP/1.1 SERVER_SOFTWARE WSGIServer/0.1 Python/2.7.5 SESSIONNAME Console SHIM_MCCOMPAT 0x810000001 WINDOWS_TRACING_FLAGS 3 WINDOWS_TRACING_LOGFILE C:\BVTBin\Tests\installpackage\csilogfile.log wsgi.errors ', mode 'w' at 0x00000000025C6150> wsgi.file_wrapper wsgiref.util.FileWrapper wsgi.input wsgi.multiprocess False wsgi.multithread True wsgi.run_once False wsgi.url_scheme http wsgi.version (1, 0)
request.META所包含的信息
最新推荐文章于 2023-01-17 16:19:46 发布