Tornado 5.1 Documentation
Release 5.1.1 WSGI and Google App Engine Tornado is normally intended to be run on its own, without a WSGI container. However, in some environments (such as Google App Engine), only WSGI is allowed and applications decorator. tornado.web.stream_request_body(cls) Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined interface to use for request. curl_httpclient only; see note below. • streaming_callback (collections.abc.Callable) – If set, streaming_callback will be run with each chunk of data as it is received, and0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 4.5 Documentation
Static files and aggressive file caching Debug mode and automatic reloading WSGI and Google App Engine Introduction Tornado [http://www.tornadoweb.org] is a Python web framework and asynchronous networking some IDEs. WSGI and Google App Engine Tornado is normally intended to be run on its own, without a WSGI container. However, in some environments (such as Google App Engine), only WSGI is allowed and applications decorator. tornado.web.stream_request_body(cls) Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: Parameters: HTTPServerRequest.body0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 5.1 Documentation
Static files and aggressive file caching Debug mode and automatic reloading WSGI and Google App Engine Introduction Tornado [http://www.tornadoweb.org] is a Python web framework and asynchronous networking some IDEs. WSGI and Google App Engine Tornado is normally intended to be run on its own, without a WSGI container. However, in some environments (such as Google App Engine), only WSGI is allowed and applications decorator. tornado.web.stream_request_body(cls) Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: HTTPServerRequest.body is undefined0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 4.5 Documentation
some IDEs. WSGI and Google App Engine Tornado is normally intended to be run on its own, without a WSGI container. However, in some environments (such as Google App Engine), only WSGI is allowed and applications decorator. tornado.web.stream_request_body(cls) Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined Network interface to use for request. curl_httpclient only; see note below. • streaming_callback (callable) – If set, streaming_callback will be run with each chunk of data as it is received, and HTTPResponse0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.0 Documentation
RequestHandler]) → Type[tornado.web.RequestHandler] Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined max_redirects: int = None, user_agent: str = None, use_gzip: bool = None, network_interface: str = None, streaming_callback: Callable[[bytes], None] = None, header_callback: Callable[[str], None] = None, prepare_curl_callback: or source IP to use for request. See curl_httpclient note below. • streaming_callback (collections.abc.Callable) – If set, streaming_callback will be run with each chunk of data as it is received, and0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.1 Documentation
RequestHandler]) → Type[tornado.web.RequestHandler] Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined or source IP to use for request. See curl_httpclient note below. • streaming_callback (collections.abc.Callable) – If set, streaming_callback will be run with each chunk of data as it is received, and HTTPResponse.headers will be empty in the final response. This is most useful in conjunction with streaming_callback, because it’s the only way to get access to header data while the request is in progress0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.4 Documentation
Type[_RequestHandlerType]) → Type[_RequestHandlerType] Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Optional[Callable[[bytes], None]] = None, header_callback: Optional[Callable[[str], None]] or source IP to use for request. See curl_httpclient note below. • streaming_callback (collections.abc.Callable) – If set, streaming_callback will be run with each chunk of data as it is received, and0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
Type[_RequestHandlerType]) → Type[_RequestHandlerType] Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Optional[Callable[[bytes], None]] = None, header_callback: Optional[Callable[[str], None]] or source IP to use for request. See curl_httpclient note below. • streaming_callback (collections.abc.Callable) – If set, streaming_callback will be run with each chunk of data as it is received, and0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
Type[_RequestHandlerType]) → Type[_RequestHandlerType] Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Optional[Callable[[bytes], None]] = None, header_callback: Optional[Callable[[str], None]] or source IP to use for request. See curl_httpclient note below. • streaming_callback (collections.abc.Callable) – If set, streaming_callback will be run with each chunk of data as it is received, and0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
Type[_RequestHandlerType]) → Type[_RequestHandlerType] Apply to RequestHandler subclasses to enable streaming body support. This decorator implies the following changes: • HTTPServerRequest.body is undefined Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Optional[Callable[[bytes], None]] = None, header_callback: Optional[Callable[[str], None]] or source IP to use for request. See curl_httpclient note below. • streaming_callback (collections.abc.Callable) – If set, streaming_callback will be run with each chunk of data as it is received, and0 码力 | 268 页 | 1.09 MB | 1 年前3
共 402 条
- 1
- 2
- 3
- 4
- 5
- 6
- 41













