<commit_before>careful-requests
~~~~~~~~~~~~~~~

This module provides an HTTP adapter for servers that are over-sensitive to
HTTP headers. It may be sad, but not all HTTP servers are HTTP-compliant and
some are suspicious of otherwise normal headers! Use careful-requests if you
still want to use the excellent Requests module.

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

here you go

.. code-block:: python

    from careful_requests import Careful

    s = Careful()

    >>> s.get("http://httpbin.org/get", omit_headers=["accept-encoding"])
    <Response [200]>

Install
----------

.. code-block:: bash

    sudo python setup.py install

Testing
----------

.. code-block:: bash

    make test

License
----------

BSD
<commit_msg>more README tweaking<commit_after>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", omit_headers=["accept-encoding"])
    <Response [200]>

Install
----------

.. code-block:: bash

    sudo python setup.py install

Testing
----------

.. code-block:: bash

    make test

License
----------

BSD

{'fraction_non_alphanumeric': 0.14903225806451612, 'fraction_numerical': 0.003870967741935484, 'mean_word_length': 2.8775, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2513993', 'n_tokens_mistral': 458, 'n_tokens_neox': 421, 'n_words': 167}