How to Install and Uninstall python-wsgi-intercept Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 26,2024
1. Install "python-wsgi-intercept" package
Please follow the guidelines below to install python-wsgi-intercept on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python-wsgi-intercept
Copied
2. Uninstall "python-wsgi-intercept" package
Please follow the instructions below to uninstall python-wsgi-intercept on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python-wsgi-intercept
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-wsgi-intercept package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python-wsgi-intercept
Priority: extra
Section: universe/python
Installed-Size: 59
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Version: 1.1.2-2
Depends: python-six, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-wsgi-intercept/python-wsgi-intercept_1.1.2-2_all.deb
Size: 12992
MD5sum: 95682f8a144abebca545d2f1b6c8f608
SHA1: ed03a6deba74da3f7cbc59afcdafe3a21626e4c1
SHA256: 5bc405c58e3237bf672a6de24ebc626d92aebea7c2301e572154305fd3e19c13
Description-en: installs a WSGI application in place of a real URI for testing
Testing a WSGI application normally involves starting a server at a local host
and port, then pointing your test code to that address. Instead, this library
lets you intercept calls to any specific host/port combination and redirect
them into a WSGI application importable by your test program. Thus, you can
avoid spawning multiple processes or threads to test your Web app.
.
wsgi_intercept works by replacing httplib.HTTPConnection with a subclass,
wsgi_intercept.WSGI_HTTPConnection. This class then redirects specific
server/port combinations into a WSGI application by emulating a socket. If no
intercept is registered for the host and port requested, those requests are
passed on to the standard handler.
Description-md5: 273d840697acceca1516752c93db531b
Homepage: https://github.com/cdent/wsgi-intercept
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: extra
Section: universe/python
Installed-Size: 59
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Version: 1.1.2-2
Depends: python-six, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-wsgi-intercept/python-wsgi-intercept_1.1.2-2_all.deb
Size: 12992
MD5sum: 95682f8a144abebca545d2f1b6c8f608
SHA1: ed03a6deba74da3f7cbc59afcdafe3a21626e4c1
SHA256: 5bc405c58e3237bf672a6de24ebc626d92aebea7c2301e572154305fd3e19c13
Description-en: installs a WSGI application in place of a real URI for testing
Testing a WSGI application normally involves starting a server at a local host
and port, then pointing your test code to that address. Instead, this library
lets you intercept calls to any specific host/port combination and redirect
them into a WSGI application importable by your test program. Thus, you can
avoid spawning multiple processes or threads to test your Web app.
.
wsgi_intercept works by replacing httplib.HTTPConnection with a subclass,
wsgi_intercept.WSGI_HTTPConnection. This class then redirects specific
server/port combinations into a WSGI application by emulating a socket. If no
intercept is registered for the host and port requested, those requests are
passed on to the standard handler.
Description-md5: 273d840697acceca1516752c93db531b
Homepage: https://github.com/cdent/wsgi-intercept
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu