Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num kwarg body Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad With Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad NameStore body If CompareEq AttributeLoad NameLoad attr Num body If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Assign NameStore NameLoad While UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Expr Call NameLoad NameLoad TupleLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr Num body Return NameLoad orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list
N/A N/A  HTTPStream is an HTTP client library for Python that wraps the
standard library HTTP client with a convenient resource-based interface
and also provides support for incremental JSON document retrieval and
RFC 6570 URI Templates.
 N/A __author__ Nigel Small N/A __copyright__ 2013-2014, Nigel Small N/A __email__ nigel@nigelsmall.com N/A __license__ Apache License, Version 2.0 N/A __version__ 1.5.0 http * watch watch head N/A N/A uri if_modified_since headers redirect_limit N/A None None 5 kwargs N/A N/A  Issue an HTTP ``HEAD`` request to a given `uri`.

    :param uri: target URI for the request
    :param headers: dictionary of extra headers to send (optional)
    :param redirect_limit: maximum number of redirects to follow (optional, default=5)
    :param kwargs: see :func:`get <httpstream.get>` for other keyword arguments
    :return: file-like :class:`Response <httpstream.Response>` object from which
        content can be read
     N/A N/A N/A N/A Resource uri head if_modified_since headers redirect_limit kwargs N/A get N/A N/A uri if_modified_since headers redirect_limit N/A None None 5 kwargs N/A N/A  Issue an HTTP ``GET`` request to a given `uri`.

    :param uri: target URI for the request
    :param headers: dictionary of extra headers to send (optional)
    :param redirect_limit: maximum number of redirects to follow (optional, default=5)
    :param product: name or (name, version) tuple to be passed in the ``User-Agent``
        header (optional)
    :param chunk_size: number of bytes to retrieve per chunk (optional, default=4096)
    :param cache: boolean flag to allow caching so response content can be stored
        for multiple reads (optional)
    :return: file-like :class:`Response <httpstream.Response>` object from which
        content can be read
     N/A N/A N/A N/A Resource uri get if_modified_since headers redirect_limit kwargs N/A put N/A N/A uri body headers N/A None None kwargs N/A N/A  Issue an HTTP ``PUT`` request to a given `uri`, optionally with a payload.

    :param uri: target URI for the request
    :param body: payload to be sent with the request (optional)
    :param headers: dictionary of extra headers to send (optional)
    :param kwargs: see :func:`get <httpstream.get>` for other keyword arguments
    :return: file-like :class:`Response <httpstream.Response>` object from which
        content can be read
     N/A N/A N/A N/A Resource uri put body headers kwargs N/A patch N/A N/A uri body headers N/A None None kwargs N/A N/A  Issue an HTTP ``PUT`` request to a given `uri`, optionally with a payload.

    :param uri: target URI for the request
    :param body: payload to be sent with the request (optional)
    :param headers: dictionary of extra headers to send (optional)
    :param kwargs: see :func:`get <httpstream.get>` for other keyword arguments
    :return: file-like :class:`Response <httpstream.Response>` object from which
        content can be read
     N/A N/A N/A N/A Resource uri patch body headers kwargs N/A post N/A N/A uri body headers N/A None None kwargs N/A N/A  Issue an HTTP ``POST`` request to a given `uri`, optionally with a payload.

    :param uri: target URI for the request
    :param body: payload to be sent with the request (optional)
    :param headers: dictionary of extra headers to send (optional)
    :param kwargs: see :func:`get <httpstream.get>` for other keyword arguments
    :return: file-like :class:`Response <httpstream.Response>` object from which
        content can be read
     N/A N/A N/A N/A Resource uri post body headers kwargs N/A delete N/A N/A uri headers N/A None kwargs N/A N/A  Issue an HTTP ``DELETE`` request to a given `uri`.

    :param uri: target URI for the request
    :param headers: dictionary of extra headers to send (optional)
    :param kwargs: see :func:`get <httpstream.get>` for other keyword arguments
    :return: file-like :class:`Response <httpstream.Response>` object from which
        content can be read
     N/A N/A N/A N/A Resource uri delete headers kwargs N/A download N/A N/A uri filename headers redirect_limit N/A None None 5 kwargs N/A N/A  Get a remote resource and save the content to a local file. If a local
    file already exists at the download destination, the modification time of
    that file is sent in the request headers as the `If-Modified-Since` value
    to perform a conditional GET. If the remote file has not been modified, a
    304 response should then be returned.

    :param uri:
    :param filename:
    :param headers:
    :param redirect_limit:
    :param kwargs:
    :return:
     datetime datetime os utime os.path getmtime time time tardis datetime_to_timestamp N/A N/A N/A last_modified N/A N/A datetime fromtimestamp N/A getmtime filename N/A N/A N/A OSError N/A N/A last_modified None N/A N/A get uri if_modified_since last_modified headers headers redirect_limit redirect_limit kwargs source N/A N/A N/A N/A source status_code 200 N/A N/A N/A filename N/A N/A filename N/A source filename N/A N/A open filename wb destination N/A N/A finished False N/A N/A finished N/A N/A data N/A N/A source read 8192 N/A data N/A N/A N/A N/A destination write data N/A N/A finished True N/A N/A utime filename N/A N/A time N/A datetime_to_timestamp N/A source last_modified N/A True N/A N/A N/A N/A source status_code 304 N/A N/A False N/A N/A N/A ValueError N/A Unexpected status code %s from download response N/A source status_code N/A