Tornado 6.1 Documentation
configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: None] = None, follow_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: html#int]) – Limit for follow_redirects, default 5. user_agent (str [https://docs.python.org/3.6/library/stdtypes.html#str]) – String to send as User-Agent header decompress_response (bool [https://docs.python0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.1 Documentation
AsyncHTTPClient.configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: None] = None, fol- low_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = None, use_gzip: Optional[bool] = None, net- work_interface: Optional[str] = None Default True. • max_redirects (int) – Limit for follow_redirects, default 5. • user_agent (str) – String to send as User-Agent header • decompress_response (bool) – Request a compressed response from the server0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: Union[float, datetime.datetime] = None, follow_redirects: bool = None, max_redirects: int = None, user_agent: str = None, use_gzip: bool = None, network_interface: str = None, streaming_callback: Callable[[bytes] html#int]) – Limit for follow_redirects, default 5. user_agent (str [https://docs.python.org/3.6/library/stdtypes.html#str]) – String to send as User-Agent header decompress_response (bool [https://docs.python0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.4 Documentation
AsyncHTTPClient.configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: datetime]] = None, follow_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Default True. • max_redirects (int) – Limit for follow_redirects, default 5. • user_agent (str) – String to send as User-Agent header • decompress_response (bool) – Request a compressed response from the server0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
AsyncHTTPClient.configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: datetime]] = None, follow_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Default True. • max_redirects (int) – Limit for follow_redirects, default 5. • user_agent (str) – String to send as User-Agent header • decompress_response (bool) – Request a compressed response from the server0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
AsyncHTTPClient.configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: datetime]] = None, follow_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Default True. • max_redirects (int) – Limit for follow_redirects, default 5. • user_agent (str) – String to send as User-Agent header • decompress_response (bool) – Request a compressed response from the server0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
AsyncHTTPClient.configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: datetime]] = None, follow_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Default True. • max_redirects (int) – Limit for follow_redirects, default 5. • user_agent (str) – String to send as User-Agent header • decompress_response (bool) – Request a compressed response from the server0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.3 Documentation
AsyncHTTPClient.configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: datetime]] = None, follow_redirects: Optional[bool] = None, max_redirects: Optional[int] = None, user_agent: Optional[str] = None, use_gzip: Optional[bool] = None, network_interface: Optional[str] = None, streaming_callback: Default True. • max_redirects (int) – Limit for follow_redirects, default 5. • user_agent (str) – String to send as User-Agent header • decompress_response (bool) – Request a compressed response from the server0 码力 | 264 页 | 1.06 MB | 1 年前3
Tornado 6.5 DocumentationAsyncHTTPClient.configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: datetime | None = None, follow_redirects: bool | None = None, max_redirects: int | None = None, user_agent: str | None = None, use_gzip: bool | None = None, network_interface: str | None = None, streaming_callback: Default True. • max_redirects (int) – Limit for follow_redirects, default 5. • user_agent (str) – String to send as User-Agent header • decompress_response (bool) – Request a compressed response from the server0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.2 Documentation
configure( None, defaults=dict(user_agent="MyUserAgent")) # or with force_instance: client = AsyncHTTPClient(force_instance=True, defaults=dict(user_agent="MyUserAgent")) Changed in version 5.0: .html#typing.Optional][int [https://docs.python.org/3/library/functions.html#int]] = None, user_agent: Optional [https://docs.python.org/3/library/typing.html#typing.Optional][str [https://docs.python html#int] – Limit for follow_redirects, default 5. user_agent (str [https://docs.python.org/3/library/stdtypes.html#str]) – String to send as User-Agent header decompress_response (bool [https://docs.python0 码力 | 407 页 | 385.03 KB | 1 年前3
共 20 条
- 1
- 2













