Tornado 5.1 Documentation
packages may be useful: pycurl [http://pycurl.sourceforge.net] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. Twisted [http://www.twistedmatrix.com] may be used to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 4.5 Documentation
the standard library. pycurl [http://pycurl.sourceforge.net] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. Twisted [http://www.twistedmatrix.com] may be used to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection For example, tornado.httpclient in the default configuration blocks on DNS resolution but not on other network access (to mitigate this use ThreadedResolver or a tornado.curl_httpclient with a properly-configured0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.2 Documentation
optional packages may be useful: pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. pycares [https://pypi.org/project/pycares/] is an to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 407 页 | 385.03 KB | 1 年前3
Tornado 6.5 Documentationoptional packages may be useful:pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. pycares [https://pypi.org/project/pycares/] is an to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 437 页 | 405.14 KB | 3 月前3
Tornado 6.4 Documentation
optional packages may be useful: pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. pycares [https://pypi.org/project/pycares/] is an to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
optional packages may be useful: pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. pycares [https://pypi.org/project/pycares/] is an to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
optional packages may be useful: pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. pycares [https://pypi.org/project/pycares/] is an to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.3 Documentation
optional packages may be useful: pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. pycares [https://pypi.org/project/pycares/] is an to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 423 页 | 398.18 KB | 1 年前3
Tornado 6.1 Documentation
optional packages may be useful: pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. Twisted [https://www.twistedmatrix.com/] may be used to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.0 Documentation
packages may be useful: pycurl [http://pycurl.sourceforge.net] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. Twisted [http://www.twistedmatrix.com] may be used to the browser HTTP servers and clients tornado.httpserver — Non-blocking HTTP server tornado.httpclient — Asynchronous HTTP client tornado.httputil — Manipulate HTTP headers and URLs tornado.http1connection Examples Here is a sample synchronous function: from tornado.httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response0 码力 | 869 页 | 692.83 KB | 1 年前3
共 75 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













