skip to navigation
skip to content

Not Logged In

careful-requests 0.1.4

Requests for header-sensitive servers (like Accept-Encoding)


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`:

Example usage

here you go

.. code-block:: python

from careful_requests import Careful

s = Careful()

>>> s.get("")
<response [200]="">

"Accept-Encoding" will not be sent.


.. code-block:: bash

sudo pip install careful-requests

.. code-block:: bash

sudo python install


.. code-block:: bash

make test


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

* 0.1.2: HTTPS


File Type Py Version Uploaded on Size
careful-requests-0.1.4.tar.gz (md5) Source 2013-01-10 3KB
  • Downloads (All Versions):
  • 11 downloads in the last day
  • 80 downloads in the last week
  • 387 downloads in the last month