~ubuntu-branches/ubuntu/natty/flup/natty

« back to all changes in this revision

Viewing changes to flup/server/fcgi.py

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2007-09-12 20:22:04 UTC
  • mfrom: (1.2.1 upstream) (4 gutsy)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20070912202204-fg63etr9vzaf8hea
* New upstream release
* http://www.saddi.com/software/news/archives/58-flup-1.0-released.html
* Added a note in the description that people should probably start thinking
  of moving to modwsgi.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23
23
# SUCH DAMAGE.
24
24
#
25
 
# $Id: fcgi.py 2030 2006-08-28 16:45:53Z asaddi $
 
25
# $Id: fcgi.py 2188 2006-12-05 22:11:45Z asaddi $
26
26
 
27
27
"""
28
28
fcgi - a FastCGI/WSGI gateway.
47
47
"""
48
48
 
49
49
__author__ = 'Allan Saddi <allan@saddi.com>'
50
 
__version__ = '$Revision: 2030 $'
 
50
__version__ = '$Revision: 2188 $'
51
51
 
52
52
import os
53
53
 
54
 
from fcgi_base import BaseFCGIServer, FCGI_RESPONDER
55
 
from threadedserver import ThreadedServer
 
54
from flup.server.fcgi_base import BaseFCGIServer, FCGI_RESPONDER
 
55
from flup.server.threadedserver import ThreadedServer
56
56
 
57
57
__all__ = ['WSGIServer']
58
58
 
147
147
        yield '</table>\n' \
148
148
              '</body></html>\n'
149
149
 
 
150
    from wsgiref import validate
 
151
    test_app = validate.validator(test_app)
150
152
    WSGIServer(test_app).run()