Tornado 6.0 Documentation
protection DNS Rebinding Running and deploying Processes and ports Running behind a load balancer Static files and aggressive file caching Debug mode and automatic reloading Introduction Tornado [http://www their singular counterparts. Files uploaded via a form are available in self.request.files, which maps names (the name of the HTML element) to a list of files. Each file is a dictionary dictionary of the form {"filename":..., "content_type":..., "body":...}. The files object is only present if the files were uploaded with a form wrapper (i.e. a multipart/form-data Content-Type); if this format0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
protection DNS Rebinding Running and deploying Processes and ports Running behind a load balancer Static files and aggressive file caching Debug mode and automatic reloading Introduction Tornado [http://www their singular counterparts. Files uploaded via a form are available in self.request.files, which maps names (the name of the HTML element) to a list of files. Each file is a dictionary dictionary of the form {"filename":..., "content_type":..., "body":...}. The files object is only present if the files were uploaded with a form wrapper (i.e. a multipart/form-data Content-Type); if this format0 码力 | 931 页 | 708.03 KB | 1 年前3
waitress Documentation v2.1.100bd5237da). Allow trusted proxies to override wsgi.url_scheme via a request header, X_FORWARDED_PROTO. Allows proxies which serve mixed HTTP / HTTPS requests to control signal which are served as HTTPS larger default value prevents asyncore from needing to execute select so many times to serve large files, speeding up file serving by about 15%-20% or so. This is probably only an optimization for LAN communications --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x- forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.000bd5237da). Allow trusted proxies to override wsgi.url_scheme via a request header, X_FORWARDED_PROTO. Allows proxies which serve mixed HTTP / HTTPS requests to control signal which are served as HTTPS larger default value prevents asyncore from needing to execute select so many times to serve large files, speeding up file serving by about 15%-20% or so. This is probably only an optimization for LAN communications --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x- forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \0 码力 | 52 页 | 57.95 KB | 1 年前3
waitress Documentation v3.0.1
00bd5237da). Allow trusted proxies to override wsgi.url_scheme via a request header, X_FORWARDED_PROTO. Allows proxies which serve mixed HTTP / HTTPS requests to control signal which are served as HTTPS larger default value prevents asyncore from needing to execute select so many times to serve large files, speeding up file serving by about 15%-20% or so. This is probably only an optimization for LAN communications --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x- forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \0 码力 | 55 页 | 56.36 KB | 1 年前3
waitress Documentation v1.4.000bd5237da). Allow trusted proxies to override wsgi.url_scheme via a request header, X_FORWARDED_PROTO. Allows proxies which serve mixed HTTP / HTTPS requests to control signal which are served as HTTPS larger default value prevents asyncore from needing to execute select so many times to serve large files, speeding up file serving by about 15%-20% or so. This is probably only an optimization for LAN communications setup_console_handler = True. Logging to a File Using PasteDeploy TransLogger does not write to files, and the Python logging system must be configured to do this. The Python class FileHandler logging0 码力 | 48 页 | 54.34 KB | 1 年前3
waitress Documentation v1.3.1setup_console_handler = True. 1.2.3 Logging to a File Using PasteDeploy TransLogger does not write to files, and the Python logging system must be configured to do this. The Python class FileHandler logging X-Forwarded-Proto, however Waitress is also able to update the environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header RequestHeader set X-Forwarded-Proto https Configure waitress’s trusted_proxy_headers as appropriate: trusted_proxy_headers = "x-forwarded-for x-forwarded-host x-forwarded-proto x- ˓→forwarded-port" At0 码力 | 95 页 | 249.32 KB | 1 年前3
waitress Documentation v2.1.2--listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads $ setup_console_handler = True. 1.2.3 Logging to a File Using PasteDeploy TransLogger does not write to files, and the Python logging system must be configured to do this. The Python class FileHandler logging X-Forwarded-Proto, however Waitress is also able to update the environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header0 码力 | 115 页 | 272.79 KB | 1 年前3
waitress Documentation v2.1.1--listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads $ setup_console_handler = True. 1.2.3 Logging to a File Using PasteDeploy TransLogger does not write to files, and the Python logging system must be configured to do this. The Python class FileHandler logging X-Forwarded-Proto, however Waitress is also able to update the environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header0 码力 | 113 页 | 270.88 KB | 1 年前3
waitress Documentation v1.4.3setup_console_handler = True. 1.2.3 Logging to a File Using PasteDeploy TransLogger does not write to files, and the Python logging system must be configured to do this. The Python class FileHandler logging X-Forwarded-Proto, however Waitress is also able to update the environment using X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Port: proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header RequestHeader set X-Forwarded-Proto https Configure waitress’s trusted_proxy_headers as appropriate: trusted_proxy_headers = "x-forwarded-for x-forwarded-host x-forwarded-proto x- ˓→forwarded-port" At0 码力 | 103 页 | 259.25 KB | 1 年前3
共 439 条
- 1
- 2
- 3
- 4
- 5
- 6
- 44













