File: acks.rst

package info (click to toggle)
python-httpretty 0.8.14-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 484 kB
  • sloc: python: 3,311; makefile: 231
file content (21 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
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>`_