Fetching contributors…
Cannot retrieve contributors at this time
41 lines (29 sloc) 940 Bytes

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