A WSGI handler for ISAPI
Project description
ISAPI WSGI 0.4.2
License
ISAPI WSGI is licenced under the MIT License.
Description
ISAPI WSGI is an implementation of WSGI (PEP 333) for running as an ISAPI extension under IIS. WSGI is considered as important standard for the future of web deployed Python code. There are implementations for CGI, mod_python, twisted, jython, etc. This was the first implementation for IIS/ISAPI.
Dependencies
ISAPI WSGI is currently dependent on Mark Hammond’s Python win32 isapi extension, available in the Python for Windows Extensions project.
Status
Thanks to contributions from the communitity, there are two implementations. One is single-threaded; the other is multi-threaded.
It has been used to run simple python wsgi applications thru to applications developed using the Django, Pylons and TurboGears frameworks.
More details can be read on the project page.
Released versions are available from the project code site and PyPI. Just easy_install isapi-wsgi.
Development
Download the latest version from the GitHub repository or install it using easy_install isapi-wsgi-dev.
Mailing List
A mailing list is maintained using google groups.
Maintainer
Mark Rees mark dot john dot rees at gmail dot com
Changes
0.4.2
Replicate ecb server varible HTTPS in wsgi environment so Trac and Mercurial can use isapi_wsgi over https.
0.4.1
Make manipulation of ECB server variable APPL_MD_PATH case insensitive as string case appears to be IIS version/installation dependent.
Add serving from IIS root example - examples\demo_serve_from_root.py
0.4
Improved virtual directory support:
Application can now be deployed to any level of the IIS directory structure including the root.
SCRIPT_NAME is now set properly (to the app root if it’s a *-mapped script handler)
Added Python 3.0 compatibility
First release to PyPI
Set IIS REMOTE_ADDR env variable as part of WSGI environment.
Add optional size argument to wsgi.input’s readline(). This is not part of WSGI spec, but stdlib cgi.py now requires it.
0.3
Apply Chris Lambacher’s first set of patches:
ISAPISimpleHandler creates handler object per request.
ISAPIThreadPoolHandler where the wsgi requests are run on worker threads from the thread pool.
App now serves from VirtualDirectory root by default.
0.2 First beta release
Added qwip_test.py as an example for running quixote apps via QWIP.
Update README.txt to reflect new example.
Added basic error handling to cope with Extension Errors that are generated when a client disconnects before the extension i/o has finished.
Reset self.headers and self.headers_sent in HttpExtensionProc so wsgi states are correct if Extension Error occurred in previous call.
0.1
Change write method so it uses ecb.WriteClient rather than print redirection which was causing an Extension Error when running QWIP apps.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file isapi_wsgi-0.4.2.zip
.
File metadata
- Download URL: isapi_wsgi-0.4.2.zip
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e02cfe410215bb3f39597190b0f67923c2d35dd0e5594cfa7c1237da8e6eddc |
|
MD5 | 2765d20ac27d8a53e890a80d493397db |
|
BLAKE2b-256 | 4c7ef7158c2a19568775f146f7bacfcc0911779566401698c28e48e01d81f6df |
File details
Details for the file isapi_wsgi-0.4.2.win32.exe
.
File metadata
- Download URL: isapi_wsgi-0.4.2.win32.exe
- Upload date:
- Size: 75.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 807ab14696dd4e24d5d1aba3ace8dfb411033a0ce827bb7246d621e01d638591 |
|
MD5 | dd4187c8e0216efa474f05d86604ec04 |
|
BLAKE2b-256 | 0d707b3290a78f0bba577c51e85ffd15fa33e80037a244b03c1184a13ca83497 |