summaryrefslogtreecommitdiff
path: root/docs/source/acks.rst
blob: 3543d0c3c152d9be94124c41298ae558eb205b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Acknowledgements
###############

caveats
=======

``forcing_headers`` + ``Content-Length``
----------------------------------------
if you use the ``forcing_headers`` options make sure to add the header
``Content-Length`` otherwise the
[requests](http://docs.python-requests.org/en/latest/) will try to
load the response endlessly

supported libraries
-------------------

Because HTTPretty works in the socket level it should work with any HTTP client libraries, although it is `battle tested <https://github.com/gabrielfalcao/HTTPretty/tree/master/tests/functional>`_ against:

* `requests <http://docs.python-requests.org/en/latest/>`_
* `httplib2 <http://code.google.com/p/httplib2/>`_
* `urllib2 <http://docs.python.org/2/library/urllib2.html>`_