Skip to main content
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

Metadata

Release files for careful-requests 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for careful-requests 0.1.4
File Size Uploaded
careful-requests-0.1.4.tar.gz 3.7 kB Details

Release files / careful-requests-0.1.4.tar.gz

Download URL careful-requests-0.1.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4f26e12b6a985fd77a55bc122ea3592bb9cea1ac5d730dea790f53959acd9849
BLAKE2b-256 checksum
How to use checksums
930a3ebc052edf39312e2d798a59d052947af8179e348acb22e54ecb6d7ce961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page