• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux wsgi_intercept Download

wsgi_intercept

January 7, 2009
This software replaces a real URI during testing and installs a WSGI application.
Version 0.4
License MIT/X Consortium License
Platform Linux
Supported Languages English
Homepage code.google.com
Developed by Titus Brown, Kumar McMillan
This software review will focus on wsgi_intercept, a library that streamlines testing for WSGI applications. Typically, testing WSGI applications involves starting a server at a local host and port, and directing your test code to that address. However, with wsgi_intercept, you can intercept calls to any specific host/port combination and redirect them into a WSGI application importable by your test program instead. This approach allows you to avoid spawning multiple processes or threads to test your Web app, thus rendering the whole process much simpler.

So, how does it work? wsgi_intercept replaces httplib.HTTPConnection with a subclass known as wsgi_intercept.WSGI_HTTPConnection. This class redirects specific server/port combinations into a WSGI application by emulating a socket. If there is no intercept registered for the host and port requested, those requests are passed on to the standard handler for processing.

With wsgi_intercept, you can use the functions add_wsgi_intercept(host, port, app_create_fn, script_name='') and remove_wsgi_intercept(host,port) to specify which URLs should be redirected to what applications. It is important to note particularly that app_create_fn must be a function object returning a WSGI application. Additionally, script_name becomes SCRIPT_NAME in the WSGI app's environment if it is set.

Overall, wsgi_intercept is a valuable tool for developers looking to simplify the testing of WSGI applications. Its ability to redirect calls to any specific host/port combination and its straightforward interface make it an excellent choice for anyone looking to streamline their development process.
What's New

Version 0.4: N/A

Free Download 40.2K
328
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

JWChat
JWChat is a powerful and fully functional Jabber client that can be ...
AmarKontrol New
AmarKontrol New is a new Amarok control center tool aimed at improving ...
wmail
Wmail is a Window Maker docklet that monitors your mailbox, whether it's ...
Machinations
Machinations is a 3D real-time strategy game modeled after Total Annihilation and ...
Galaxy
Galaxy project is a software that simulates the motion of stars and ...
amarokNowPlaying
AmarokNowPlaying is a script for amaroK, a music player software, that provides ...
Decomp
Decomp is a decompiler software that offers almost complete decompilation capabilities.
yafic
Yafic is a software tool that checks the integrity of files, similar ...
Infra-Red
A software architecture approach that enables creation of systems which can be ...
SelfBuild
SelfBuild is a versatile editor that enables users to edit any web ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.