knarfeh
08a96a3151
Add back the missing right bracket ( #197 )
2017-02-02 10:10:22 -08:00
Marti Raudsepp
04a6af2ab1
Fix various typos, spelling and grammar errors
...
Errors detected using Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2016-07-11 18:35:35 +03:00
Benjamin Peterson
8740ed3746
I'm going to call this superseded just to avoid collision in the key
2011-03-04 04:58:22 +00:00
Georg Brandl
66b2ff55ba
#10917 : fix links to CGI spec.
2011-01-16 09:57:25 +00:00
Nick Coghlan
8654d1a40f
Attempt to trigger rebuild of recently modified PEPs after failure of PEP 0 creation
2010-09-27 20:47:22 +00:00
Phillip J. Eby
bd1d25c162
Fix PEP headers and markup problems
2010-09-27 14:43:09 +00:00
Phillip J. Eby
822bdad411
PEP 333 is dead; long live PEP 3333. Or not. ;-)
2010-09-26 23:52:17 +00:00
Phillip J. Eby
604910ad8c
Revert Python 3 changes
2010-09-26 23:44:39 +00:00
Phillip J. Eby
71b23a6320
WSGI is now Python 3-friendly. This does not cover the other planned
...
addenda/errata, and it may need more work even on these bits, but it
is now begun. (Many thanks to Graham and Ian.)
2010-09-25 19:44:55 +00:00
Phillip J. Eby
86b7e8aba9
Fix semantic breakage for Python 2.1 (yes, WSGI supports Python 2.1,
...
which doesn't have an 'object' type), and the description using
iter(filelike.read, '') was intentional; changing it broke the
spec. (I.e., running that portion of the spec would raise TypeError)
2010-09-16 20:00:17 +00:00
Florent Xicluna
cf3be960ad
Use new-style classes in examples. Fix typos.
2010-08-28 18:08:15 +00:00
Florent Xicluna
c29c921482
Add a space after comma and remove trailing spaces.
2010-08-28 17:49:32 +00:00
Tarek Ziadé
08f90b907e
reverted unintentional commit on pep 333
2009-04-13 20:58:19 +00:00
Tarek Ziadé
ee44df8208
pkg_name -> project_name
2009-04-13 20:52:58 +00:00
Guido van Rossum
8fa172dfab
Fix typo reported by Doug Ported on web-sig.
2006-04-03 19:07:07 +00:00
Phillip J. Eby
605fd0d0d6
Add SERVER_PROTOCOL as a required variable, since it's needed in order to
...
obey the RFC's. Note that 'wsgi.errors' should be a "text mode" file. Fix
a problem with the "URL reconstruction" algorithm: HTTP_HOST can contain
a port number, so don't try to add SERVER_PORT if you use HTTP_HOST.
2004-10-17 13:34:31 +00:00
Phillip J. Eby
c029c079a2
Fix misc. coding errors found while testing the reference library.
2004-10-06 06:23:54 +00:00
Phillip J. Eby
c96856e95c
Clarifications and citations as requested by Mark Nottingham, and
...
discussed further at:
http://mail.python.org/pipermail/web-sig/2004-September/000917.html
Also, add Mark to the Acknowledgments, since his input has now
touched a substantial number of paragraphs in the PEP. :)
2004-10-01 20:03:01 +00:00
Phillip J. Eby
100532ac71
Move subsections on HTTP features, error handling, unicode, and
...
threading to the main "Specification Details" section. Juggle
order of implementation notes to better match their importance and
pedagogic sequence. Add current open issues re: async app
frameworks.
2004-09-19 19:49:37 +00:00
Phillip J. Eby
110c3a33a3
Get rid of tabs that sneaked into sample code.
2004-09-18 23:46:50 +00:00
Phillip J. Eby
3fd244d830
Fixed middleware example not handling 'close' correctly. Fixed an
...
erroneous statement re: calling 'write()' with empty strings. Moved
"Multiple Invocations" note into overview, and moved "callable"
definition to overview's preface.
2004-09-17 16:32:17 +00:00
Phillip J. Eby
3f6ca60005
Moved middleware introduction to "Specification Overview" section,
...
adding a code example for a trivial middleware component.
2004-09-17 15:31:58 +00:00
Phillip J. Eby
45b26f3c1f
Fix "hop-by-hop" headers issues raised in section 2 of this post:
...
http://mail.python.org/pipermail/web-sig/2004-September/000879.html
This ended up simplifying the language regarding who controls what
headers, and eliminated the previous complexity regarding logging of
suppressed headers. Thanks for the comments, James!
2004-09-16 22:04:35 +00:00
Phillip J. Eby
0611ed922e
Allow applications to yield empty strings, and require middleware
...
to respect applications' block boundaries, so that asynchronous
applications can potentially pause their output while waiting for
(non-browser) I/O. See these posts and the associated threads
for the discussion:
http://mail.python.org/pipermail/web-sig/2004-September/000868.html
http://mail.python.org/pipermail/web-sig/2004-September/000880.html
2004-09-16 21:22:39 +00:00
Phillip J. Eby
b38414cc2a
Fix some minor errors found during actual implementation of
...
example code.
2004-09-16 01:56:44 +00:00
Phillip J. Eby
a214fcda03
Flesh out CGI variable definitions, and slightly loosen server-side
...
requirements for providing variables that may be empty. That's
the last of the open issues, so it's time for another posting, and
a last call for issues prior to finalization.
2004-09-15 20:41:16 +00:00
Phillip J. Eby
5dc9fcb7ae
Clarify the meaning of "string" for platforms where 'str' objects can
...
contain Unicode (e.g. Jython, IronPython, Python 3000, etc.), per
discussion at:
http://mail.python.org/pipermail/web-sig/2004-September/000860.html
Also, misc. copy edits. Only one open issue left!
2004-09-15 17:05:22 +00:00
Phillip J. Eby
8769aa43a6
Fix expect/continue language per:
...
http://mail.python.org/pipermail/web-sig/2004-August/000633.html
and add general notes re: advanced HTTP features per:
http://mail.python.org/pipermail/web-sig/2004-August/000641.html
2004-09-14 06:02:28 +00:00
Phillip J. Eby
6fec30dfc6
Forgot to include the language about suppressing the logging of header
...
overrides, that was discussed in:
http://mail.python.org/pipermail/web-sig/2004-September/000749.html
Also, misc. copy edits.
2004-09-14 05:06:44 +00:00
Phillip J. Eby
a3f454b296
Update to reflect last few weeks' discussion on the Web-SIG. See:
...
http://mail.python.org/pipermail/web-sig/2004-September/000855.html
for a detailed description of the changes made in this draft. Hopefully, this
will be the last major set of *semantic* changes to the PEP, although there
are still a few minor open issues.
2004-09-13 20:01:54 +00:00
Phillip J. Eby
059a87e6e4
Fix some typos, and clean up/clarify language regarding iterables so
...
that Alan's Jython-based server will be compatible with the "letter of
the law" of the spec.
2004-09-01 20:35:42 +00:00
Phillip J. Eby
1373ea5150
Move 'fileno()' support to a separate section, where it should be
...
easier to see it's an optional and platform-specific extension, not
an excuse to return "file-like" objects instead of iterables.
2004-09-01 13:44:07 +00:00
Phillip J. Eby
1bff7b795e
More formatting fixes
2004-09-01 04:59:21 +00:00
Phillip J. Eby
6690980d6b
Major clarifications and some minor semantic changes; see
...
http://mail.python.org/pipermail/web-sig/2004-August/000730.htm
for a complete summary of the changes and their rationales.
2004-08-31 22:00:28 +00:00
Phillip J. Eby
93eddee292
Misc. clarifications added per Alan Kennedy's report on his
...
experiences implementing WSGI in Jython/Java Servlets.
2004-08-30 03:04:59 +00:00
Phillip J. Eby
36087815b0
Fix a formatting problem, and add today's posting date.
2004-08-27 21:14:42 +00:00
David Goodger
a46d0fa414
added PEP 333, "Python Web Server Gateway Interface v1.0", by Phillip J. Eby
2004-08-27 17:30:09 +00:00