quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damjan Georgievski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MODPYTHON-74) Add a WSGI handler to support WSGI-based frameworks
Date Mon, 12 Jun 2006 05:30:31 GMT
    [ http://issues.apache.org/jira/browse/MODPYTHON-74?page=comments#action_12415819 ] 

Damjan Georgievski commented on MODPYTHON-74:

I vote for this feature to be added in mod_python.
I know some of the mod_python developers don't quite like WSGI but consider that today there
are not much exlusively mod_python applications (and some people need/want to use web servers
other than Apache). 
This means that, current applications can't depend on mod_python features, but most often
they don't even need the special mod_python features.

Current applications also implement special glue code to use the app with mod_python, scgi,
cgi etc.. In the future, applications developers would want to avoid that, and you can see
that almost all of the new web-app development is based on WSGI. You can even run Zope in
a WSGI server (I wonder if anyone tried to do it in mod_python/WSGI).

Including modpython_gateway (possibly as mod_python.wsgi) in the mod_python distribution will
make mod_python an easy choice for serving WSGI applications without the need to hunt down
mod_python WSGI implementations.

Also I'd suggest that some features are implemented in modpython_gateway:
- sendfile support (http://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling)
- more robust PATH_INFO and SCRIPT_NAME detection, possibly without the "PythonOption SCRIPT_NAME"
hack.... well, I think this might not be possible but it would be great if is.

> Add a WSGI handler to support WSGI-based frameworks
> ---------------------------------------------------
>          Key: MODPYTHON-74
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-74
>      Project: mod_python
>         Type: New Feature

>   Components: core
>     Reporter: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.3

> There is a complete implementation here :
> http://www.amorhq.net/blogs/index.php/fumanchu/2005/08/11/wsgi_wrapper_for_mod_python

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message