Metadata-Version: 2.4
Name: careful-requests
Version: 0.1.4
Summary: Requests for header-sensitive servers (like Accept-Encoding)
Home-page: https://github.com/kanzure/careful-requests
Author: Bryan Bishop
Author-email: kanzure@gmail.com
License: BSD
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: platform
Dynamic: requires-dist
Dynamic: summary

careful-requests
~~~~~~~~~~~~~~~

This module provides an HTTP adapter and session for use with `Requests`_ when
communicating with servers that are hyper-sensitive to standard HTTP headers.
It may be sad, but not all HTTP servers are HTTP-compliant and some are even
suspicious of normal headers. Use careful-requests if you still want to use the
excellent Requests module.

.. _`Requests`: http://python-requests.org/

Example usage
----------

here you go

.. code-block:: python

    from careful_requests import Careful

    s = Careful()

    >>> s.get("http://httpbin.org/get")
    <Response [200]>

"Accept-Encoding" will not be sent.

Install
----------

.. code-block:: bash

    sudo pip install careful-requests

.. code-block:: bash

    sudo python setup.py install

Testing
----------

.. code-block:: bash

    make test

Changelog
----------

* 0.1.3: support both requests==1.0.4 and requests==0.14.2, which is useful for proxy support.

* 0.1.2: HTTPS

License
----------

BSD
