b18c1181b2fa09adc3e099b99f17bfb6a800ecbd
python3-wsgi-intercept
Python3 port of the important bits of wsgi-intercept, now working for 2.6, 2.7, 3.3 and 3.4.
Documentation is available on Read The Docs.
What is it?
wsgi_intercept installs a WSGI application in place of a real URI for testing. See the PyPI page page for more details.
Modern Version
For the 2 and 3 version only some intercept functionality is provided, with a working implementation in Python 2 for:
urllib2httplibhttplib2requests
and in Python 3 for:
urllib.requesthttp.clienthttplib2requests
If you are using Python 2 and need support for a different HTTP
client, require a version of wsgi_intercept<0.6. Another option
to keep in mind is that interceptor code from earlier versions,
such as the interceptor for mechanize ought to work when imported
independently (see related
conversation.
Description
Languages
Python
98.6%
Makefile
1.4%
