Module ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Return Call NameLoad NameLoad decorator_list
N/A __future__ absolute_import division print_function twisted.web.client Agent treq.client HTTPClient treq._utils default_pool default_reactor head N/A N/A url N/A kwargs N/A N/A 
    Make a ``HEAD`` request.

    See :py:func:`treq.request`
     N/A N/A N/A N/A _client kwargs head url kwargs N/A get N/A N/A url headers N/A None kwargs N/A N/A 
    Make a ``GET`` request.

    See :py:func:`treq.request`
     N/A N/A N/A N/A _client kwargs get url headers headers kwargs N/A post N/A N/A url data N/A None kwargs N/A N/A 
    Make a ``POST`` request.

    See :py:func:`treq.request`
     N/A N/A N/A N/A _client kwargs post url data data kwargs N/A put N/A N/A url data N/A None kwargs N/A N/A 
    Make a ``PUT`` request.

    See :py:func:`treq.request`
     N/A N/A N/A N/A _client kwargs put url data data kwargs N/A patch N/A N/A url data N/A None kwargs N/A N/A 
    Make a ``PATCH`` request.

    See :py:func:`treq.request`
     N/A N/A N/A N/A _client kwargs patch url data data kwargs N/A delete N/A N/A url N/A kwargs N/A N/A 
    Make a ``DELETE`` request.

    See :py:func:`treq.request`
     N/A N/A N/A N/A _client kwargs delete url kwargs N/A request N/A N/A method url N/A kwargs N/A N/A 
    Make an HTTP request.

    :param str method: HTTP method. Example: ``'GET'``, ``'HEAD'``. ``'PUT'``,
         ``'POST'``.
    :param str url: http or https URL, which may include query arguments.

    :param headers: Optional HTTP Headers to send with this request.
    :type headers: Headers or None

    :param params: Optional parameters to be append as the query string to
        the URL, any query string parameters in the URL already will be
        preserved.

    :type params: dict w/ str or list/tuple of str values, list of 2-tuples, or
        None.

    :param data: Optional request body.
    :type data: str, file-like, IBodyProducer, or None

    :param reactor: Optional twisted reactor.

    :param bool persistent: Use persistent HTTP connections.  Default: ``True``
    :param bool allow_redirects: Follow HTTP redirects.  Default: ``True``

    :param auth: HTTP Basic Authentication information.
    :type auth: tuple of ``('username', 'password')``.

    :param cookies: Cookies to send with this request.  The HTTP kind, not the
        tasty kind.
    :type cookies: ``dict`` or ``cookielib.CookieJar``

    :param int timeout: Request timeout seconds. If a response is not
        received within this timeframe, a connection is aborted with
        ``CancelledError``.

    :rtype: Deferred that fires with an IResponse provider.

     N/A N/A N/A N/A _client kwargs request method url kwargs N/A _client N/A N/A N/A args kwargs N/A N/A agent N/A N/A kwargs get agent N/A N/A agent None N/A N/A reactor N/A default_reactor N/A N/A kwargs get reactor N/A pool N/A default_pool reactor N/A N/A kwargs get pool N/A N/A kwargs get persistent N/A agent N/A Agent reactor pool pool N/A N/A HTTPClient agent N/A