Skip to content

alex/python3-wsgi-intercept

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python3-wsgi-intercept

travis

Python3 port of the important bits of wsgi-intercept, now working for 2.6, 2.7 and 3.3.

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:

  • urllib2
  • httplib
  • httplib2
  • requests

and in Python 3 for:

  • urllib.request
  • http.client
  • httplib2
  • requests

If you are using Python 2 and need support for a different HTTP client, require a version of wsgi_intercept<0.6.

To Do

  • https support using http.client is only somewhat implemented.

About

Python3 port of the important bits of wsgi-intercept

Resources

Stars

Watchers

Forks

Packages

No packages published