Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (29 sloc) 0.94 kb
8fd9413 @bdarnell Add titles to table of contents
bdarnell authored
1 ``tornado.httpclient`` --- Non-blocking HTTP client
2 ===================================================
4fec6ae @bdarnell Skeletal autogenerated reference documentation
bdarnell authored
3
4 .. automodule:: tornado.httpclient
6d5ebab @bdarnell IOLoop and HTTPClient docs
bdarnell authored
5
6 HTTP client interfaces
7 ----------------------
8
9 .. autoclass:: HTTPClient
10 :members:
11
12 .. autoclass:: AsyncHTTPClient
13 :members:
14
15 Request objects
16 ---------------
17 .. autoclass:: HTTPRequest
18 :members:
19
20 Response objects
21 ----------------
22 .. autoclass:: HTTPResponse
23 :members:
24
25 Exceptions
26 ----------
27 .. autoexception:: HTTPError
28 :members:
29
30 Command-line interface
31 ----------------------
32
33 This module provides a simple command-line interface to fetch a url
34 using Tornado's HTTP client. Example usage::
35
36 # Fetch the url and print its body
37 python -m tornado.httpclient http://www.google.com
38
39 # Just print the headers
40 python -m tornado.httpclient --print_headers --print_body=false http://www.google.com
Something went wrong with that request. Please try again.