blob: 1477ed6ee1a493f7843d4db5b66d137a0357215d [file] [log] [blame]
``tornado.httpclient`` --- Non-blocking HTTP client
.. automodule:: tornado.httpclient
HTTP client interfaces
.. autoclass:: HTTPClient
.. autoclass:: AsyncHTTPClient
Request objects
.. autoclass:: HTTPRequest
Response objects
.. autoclass:: HTTPResponse
.. autoexception:: HTTPError
Command-line interface
This module provides a simple command-line interface to fetch a url
using Tornado's HTTP client. Example usage::
# Fetch the url and print its body
python -m tornado.httpclient
# Just print the headers
python -m tornado.httpclient --print_headers --print_body=false