summaryrefslogtreecommitdiffstats
path: root/Lib/wsgiref
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45975: Simplify some while-loops with walrus operator (GH-29347)Nick Drozd2022-11-262-8/+2
|
* gh-92886: Replace assertion statements in `handlers.BaseHandler` to support ↵Jack Hindmarch2022-10-191-3/+9
| | | | running with optimizations (`-O`) (GH-93231)
* gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)Serhiy Storchaka2022-09-241-2/+2
|
* gh-95105: Return Iterator from wsgiref.types.InputStream.__iter__ (#95106)Shantanu2022-07-211-2/+2
|
* gh-86178: wsgiref.types: Add missing TypeAlias annotations (GH-91608)Sebastian Rittau2022-04-161-2/+2
|
* gh-86178: Add wsgiref.types (GH-32335)Sebastian Rittau2022-04-162-0/+56
|
* Replace with_traceback() with exception chaining and reraising (GH-32074)Oleg Iarygin2022-03-301-2/+1
|
* Fix typos in the Lib directory (GH-28775)Christian Clauss2021-10-061-1/+1
| | | | | Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45132 Remove deprecated __getitem__ methods (GH-28225)Hugo van Kemenade2021-09-081-13/+0
| | | | | Remove deprecated __getitem__ methods of xml.dom.pulldom.DOMEventStream, wsgiref.util.FileWrapper and fileinput.FileInput, deprecated since Python 3.9.
* bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12977)Berker Peksag2019-05-241-1/+2
|
* bpo-29183: Fix double exceptions in wsgiref.handlers.BaseHandler (GH-12914)Berker Peksag2019-05-191-1/+10
|
* bpo-27682: Handle client connection terminations in wsgiref (GH-9713)Petter Strandmark2019-05-011-0/+4
|
* bpo-18610: Update wsgiref.validate docstring for wsgi.input read() (GH-11663)Cheryl Sabella2019-04-131-1/+1
|
* bpo-35565: Add detail to assertion failure message in wsgiref (GH-11293)Cheryl Sabella2018-12-251-1/+2
|
* bpo-35567: Convert dict of constants to a set (GH-11296)Cheryl Sabella2018-12-231-3/+3
|
* bpo-9372: Deprecate several __getitem__ methods (GH-8609)Berker Peksag2018-08-111-0/+7
| | | | | | The __getitem__ methods of DOMEventStream, FileInput, and FileWrapper classes ignore their 'index' parameters and return the next item instead.
* Remove tiny bit of deadcode from wsgiref.validate (#3996)Alex Gaynor2017-10-311-2/+0
|
* Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBaseMartin Panter2016-06-291-12/+5
|
* Issue #24291: Merge wsgi partial write fix from 3.5Martin Panter2016-06-052-6/+23
|\
| * Issue #24291: Avoid WSGIRequestHandler doing partial writesMartin Panter2016-06-052-6/+23
| | | | | | | | | | | | | | | | | | If the underlying send() method indicates a partial write, such as when the call is interrupted to handle a signal, the server would silently drop the remaining data. Also add deprecated support for SimpleHandler.stdout.write() doing partial writes.
* | Issue #27076: Merge spelling from 3.5Martin Panter2016-05-261-1/+1
|\ \ | |/
| * Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-1/+1
| | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* | Issue #26717: Merge wsgiref fix from 3.5Martin Panter2016-04-171-1/+1
|\ \ | |/
| * Issue #26717: Stop encoding Latin-1-ized WSGI paths with UTF-8Martin Panter2016-04-171-1/+1
| | | | | | | | Patch by Anthony Sottile.
* | Issue #26404: Add context manager to socketserver, by Aviv PalivodaMartin Panter2016-04-131-7/+6
|/
* Issue #26560: Avoid potential ValueError in BaseHandler.start_responseBerker Peksag2016-03-191-1/+1
| | | | Initial patch by Peter Inglesby.
* Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.Robert Collins2015-07-261-1/+1
|\
| * Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.Robert Collins2015-07-261-1/+1
| |
* | Merge from 3.4Senthil Kumaran2014-09-171-1/+8
|\ \ | |/ | | | | Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
| * Merge from 3.3Senthil Kumaran2014-09-171-1/+8
| |\ | | | | | | | | | Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
| | * Issue #22419: Limit the length of incoming HTTP request in wsgiref server to ↵Senthil Kumaran2014-09-171-1/+8
| | | | | | | | | | | | 65536 bytes.
* | | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-251-1/+1
| | | | | | | | | | | | class name instead of hardcoded one.
* | | Issue #5800: headers parameter of wsgiref.headers.Headers is now optional.Berker Peksag2014-07-021-2/+2
|/ / | | | | | | Patch by Pablo Torres Navarrete and SilentGhost.
* | Update docstring to mention correct PEP number.Eli Bendersky2014-01-261-1/+1
|/ | | | | This file hasn't been touched since its initial commit in 2006. In CPython default branch (3.4), the relevant PEP number is 3333.
* Issue #20138: The wsgiref.application_uri() and wsgiref.request_uri()Serhiy Storchaka2014-01-121-2/+2
| | | | functions now conform to PEP 3333 when handle non-ASCII URLs.
* Closes #19258: close WSGI server after handling request in demo code.Georg Brandl2013-10-141-0/+1
|
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-2/+2
|\ | | | | | | Patch by Serhiy Storchaka.
| * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-2/+2
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #16220: wsgiref now always calls close() on an iterable response.Antoine Pitrou2012-10-211-5/+7
|\ \ | |/ | | | | Patch by Brent Tubbs.
| * Issue #16220: wsgiref now always calls close() on an iterable response.Antoine Pitrou2012-10-211-5/+7
| | | | | | | | Patch by Brent Tubbs.
* | Fix 5931 - Python runtime hardcoded in wsgiref.simple_server - Now it ↵Senthil Kumaran2012-07-071-1/+2
|/ | | | specifies an implementation specific term.
* Issue #3839: wsgiref should not override a Content-Length header set byAntoine Pitrou2011-01-061-1/+3
| | | | the application. Initial patch by Clovis Fabricio.
* Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.Senthil Kumaran2010-12-291-1/+1
|
* Implement http://bugs.python.org/issue10155 using And Clover's patch, w/addedPhillip J. Eby2010-11-032-6/+114
| | | | | docs and support for more client-generated CGI variables. (This should complete the WSGI 1.0.1 compliance changes for Python 3.x.)
* Update docs (and sample app in wsgiref.simple_server) to reflect PEP 3333.Phillip J. Eby2010-11-031-2/+2
|
* Update wsgiref for PEP 3333, and fix errors introduced into the test suite ↵Phillip J. Eby2010-11-023-58/+55
| | | | | | by converting type() checks to isinstance(). (When WSGI specifies a built-in type, it does NOT mean "this type or a subclass" -- it means 'type(x) is SpecifiedType'.)
* Manually copy patch for bug 7250 from the release26-maint branch. I suckBarry Warsaw2010-03-011-0/+4
| | | | | because I did this in the wrong order and couldn't smack svnmerge into submission.
* Merged revisions 78367 via svnmerge fromTarek Ziadé2010-02-234-177/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line fixed #5801: removed spurious empty lines in wsgiref ........
* Merged revisions 78211 via svnmerge fromEzio Melotti2010-02-161-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78211 | ezio.melotti | 2010-02-17 01:58:49 +0200 (Wed, 17 Feb 2010) | 1 line #7941: fix error message ........
* Use true booleans and PEP8 for argdefaults.Georg Brandl2009-09-161-1/+1
|