[Subversion] / PEAK / src / peak / util / WSGIServer.py  

Log of /PEAK/src/peak/util/WSGIServer.py

Parent Directory

No default branch
Bookmark a link to HEAD: (view) (download) (as text)


Revision 1832 - (view) (download) (as text) - [select for diffs]
Modified Fri Oct 8 00:24:25 2004 UTC (19 years, 7 months ago) by pje
File length: 66 byte(s)
Diff to previous 1831
Moved 'peak.util.WSGIServer' to 'wsgiref.simple_server'.

Revision 1831 - (view) (download) (as text) - [select for diffs]
Modified Fri Oct 8 00:12:51 2004 UTC (19 years, 7 months ago) by pje
File length: 4400 byte(s)
Diff to previous 1830
Update peak.util.WSGIServer to latest WSGI version, ditching the old
IRerunnableCGI interface that it used.  Add a new subclass to
'wsgiref.handlers', suitable for HTTP/1.0 origin servers like WSGIServer.

Revision 1830 - (view) (download) (as text) - [select for diffs]
Modified Thu Oct 7 22:51:38 2004 UTC (19 years, 7 months ago) by pje
File length: 5067 byte(s)
Diff to previous 1808
Port all of PEAK's internal and example apps from IRerunnableCGI to
IWSGIApplication, and add a new 'WSGI' command wrapper that lets you run
non-PEAK WSGI applications in PEAK's containers.  For the time being, we're
keeping IRerunnableCGI around, however, because it's a more natural
interface for the CGI/FastCGI containers to use.  See CHANGES.txt for more
details on these issues.  Also, fixed an issue with templates outputting
Unicode instead of ASCII (which is all they really support at the moment.)

Revision 1808 - (view) (download) (as text) - [select for diffs]
Modified Wed Sep 29 19:32:46 2004 UTC (19 years, 7 months ago) by pje
File length: 5000 byte(s)
Diff to previous 1749
'SCRIPT_NAME' should be empty at site root.

Revision 1749 - (view) (download) (as text) - [select for diffs]
Modified Fri Jun 4 16:33:24 2004 UTC (19 years, 11 months ago) by pje
File length: 5001 byte(s)
Diff to previous 1669
Fix incorrect handling of numeric-only statuses.

Revision 1669 - (view) (download) (as text) - [select for diffs]
Modified Mon Feb 2 17:13:22 2004 UTC (20 years, 3 months ago) by pje
File length: 4924 byte(s)
Diff to previous 1641
Python 2.3, for no apparent reason, changed the behavior of BaseHTTPServer
with respect to send_response()'s interpretation of 'code'.  Fixed
'WSGIServer' for compatibility.  (Problem reported by Wayne Larsen and Jon
Watts.)

Revision 1641 - (view) (download) (as text) - [select for diffs]
Added Mon Jan 26 20:57:09 2004 UTC (20 years, 3 months ago) by pje
File length: 4919 byte(s)
Added 'peak serve' and 'peak launch' commands, for running "CGI" apps in
a browser from the local machine.  For example, doing this::

  PYTHONPATH=examples/trivial_cgi peak launch import:the_cgi.DemoCGI

from the base directory of a PEAK CVS checkout or source distribution will
launch the 'trivial_cgi' demo program in a new or current browser window.
Any application runnable with 'peak CGI' should also be runnable with
'peak serve' or 'peak launch', which makes it very useful for running
local browser-based apps or testing an application without CGI or FastCGI
available.  The modules that support this new functionality are
'peak.util.WSGIServer' (which implements a web server based on Python's
'BaseHTTPServer', that can run 'running.IRerunnableCGI' objects) and
'peak.tools.local_server' (which provides PEAK integration.)

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help