Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Python 3: Don't mangle strangely encoded input | Nils Philippsen | 2015-08-19 | 1 | -2/+9 |
| | | | | | | | | In Python 3, cgi.FieldStorage needs to know about encodings like shiftjis in order to decode it properly (in Python 2 it's simply not decoded at all). Fixes tests.test_wsgiwrappers.test_wsgirequest_charset | ||||
* | Replace cgi.parse_qsl w/ six.moves.urllib.parse.parse_sqleliminate_cgi_parse_qsl_2eliminate_cgi_parse_qsl | Marc Abramowitz | 2015-04-30 | 1 | -5/+5 |
| | | | | | because `cgi.parse_qsl` is deprecated, according to https://docs.python.org/2/library/cgi.html#cgi.parse_qsl | ||||
* | Fix paste.request on Python 3 | Victor Stinner | 2015-04-21 | 1 | -2/+5 |
| | | | | | | | WSGI input must be a binary file (BytesIO), not a text file (StringIO). Add also the missing __len__() method to EnvironHeaders, it's now required on Python 3 by the MutableMapping ABC. | ||||
* | Strip trailing spaces | Victor Stinner | 2015-04-21 | 1 | -3/+3 |
| | |||||
* | Python 3: fix more submodules | Victor Stinner | 2014-03-19 | 1 | -2/+2 |
| | | | | | * print syntax * replace "except Exception, exc:" with "except Exception as exc:" | ||||
* | Python 3: Replace "dict.has_key(key)" with "key in dict" | Cyril Roelandt | 2014-03-18 | 1 | -2/+2 |
| | |||||
* | Python 3: use new names of standard library modules | Cyril Roelandt | 2014-03-18 | 1 | -9/+16 |
| | | | | Use "try/except ImportError" to try Python 2 and Python 3 names. | ||||
* | Catch cookie errors when parsing cookies ↵ | Ian Bicking | 2010-09-02 | 1 | -3/+9 |
| | | | | (http://trac.pythonpaste.org/pythonpaste/ticket/189) | ||||
* | avoid unnecessary ports in URL construction | ianb | 2007-04-17 | 1 | -1/+13 |
| | |||||
* | Fix for #167 | ianb | 2007-04-11 | 1 | -1/+1 |
| | |||||
* | Add most doctests to the automatic testing; fix some problems in tests | ianb | 2007-02-01 | 1 | -2/+2 |
| | |||||
* | doc markup | pjenvey | 2007-01-21 | 1 | -1/+1 |
| | |||||
* | no need to check content type for startswith('multipart/form-data') as of ↵ | pjenvey | 2007-01-17 | 1 | -2/+2 |
| | | | | r5936/r5937 | ||||
* | CONTENT_LENGTH/Content-Length fix in HeaderDict | ianb | 2007-01-16 | 1 | -12/+25 |
| | |||||
* | typo in last commit | ianb | 2007-01-04 | 1 | -1/+1 |
| | |||||
* | Respect HTTP_HOST over SERVER_PORT in construct_url | ianb | 2007-01-04 | 1 | -8/+7 |
| | |||||
* | fixed parse_dict_querystring returning empty dicts instead of MultiDicts | pjenvey | 2006-12-22 | 1 | -1/+1 |
| | |||||
* | Quote SCRIPT_NAME and PATH_INFO in construct_url and when forwarding the ↵ | ianb | 2006-12-18 | 1 | -4/+5 |
| | | | | request via the proxy | ||||
* | Handle case when CONTENT_LENGTH is empty string (which cgi.FieldStorage ↵ | ianb | 2006-11-26 | 1 | -1/+2 |
| | | | | treats the same as missing) | ||||
* | Use a default CONTENT_LENGTH of 0 | ianb | 2006-11-26 | 1 | -0/+3 |
| | |||||
* | Fix last commit (CONTENT_TYPE), news | ianb | 2006-11-26 | 1 | -1/+1 |
| | |||||
* | Handle request CONTENT_TYPE with parameters (e.g., charset=X). prototype.js ↵ | ianb | 2006-11-26 | 1 | -2/+4 |
| | | | | sets this on requests | ||||
* | A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ | ianb | 2006-10-20 | 1 | -2/+4 |
| | | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up. | ||||
* | changes to QUERY_STRING shouldn't trigger reparsing of formvars: | pjenvey | 2006-10-20 | 1 | -4/+4 |
| | | | | | | no longer caching QUERY_STRING vars together with parsed_formvars (parse_querystring caches them anyway) nor using QUERY_STRING information as cache keys | ||||
* | Patch cgi.FieldStorage.__repr__ to not be brain dead. | cce | 2006-09-26 | 1 | -0/+14 |
| | |||||
* | fixing parse_formvars to permit missing QUERY_STRING, which | cce | 2006-09-03 | 1 | -1/+1 |
| | | | | is permitted by the WSGI specification | ||||
* | Updated form var caching so that the REQUEST_METHOD is not part of the cache ↵ | bbangert | 2006-08-21 | 1 | -1/+1 |
| | | | | key. | ||||
* | renamed the multidict class to MultiDict | pjenvey | 2006-07-25 | 1 | -6/+6 |
| | |||||
* | o request.parse_formvars changes: | pjenvey | 2006-07-24 | 1 | -41/+22 |
| | | | | | | | | | | | | - now returns a multidict instead of dict (like parse_dict_querystring) - removed all_as_list keyword arg: use multidict.mixed() instead to produce an all_as_list dict - preventing FieldStorage from parsing out QUERY_STRING during GET/HEAD requests - the fake_out_cgi check wasn't careful enough about multipart/form-data content-types. Was also missing a StringIO import (r5471 broke file uploads) o evalexception's wsgiapp decorator assumed parse_formvars would return GET vars during a GET (buggy behavior), now it explicitly asks for them | ||||
* | Keep wsgi.input from being eaten when the cgi module is looking for POST ↵ | ianb | 2006-07-20 | 1 | -1/+15 |
| | | | | variables | ||||
* | Changed usage of MultiDict to util.multidict | ianb | 2006-07-19 | 1 | -30/+3 |
| | |||||
* | made MultiDict iterable | pjenvey | 2006-06-20 | 1 | -2/+2 |
| | |||||
* | Added copyright header to a bunch of files | ianb | 2006-06-13 | 1 | -0/+2 |
| | |||||
* | fix for non-form POSTs, putting all the variables in __body__ | ianb | 2006-05-07 | 1 | -15/+24 |
| | |||||
* | Moved WSGIRequest from request -> wsgiwrappers. Created WSGIResponse object ↵ | bbangert | 2006-03-19 | 1 | -126/+1 |
| | | | | in wsgiwrappers. | ||||
* | Fixed bug with WSGIRequest params | bbangert | 2006-03-19 | 1 | -2/+2 |
| | |||||
* | Added a get_cookie_headers function; added a dictionary-like object that ↵ | ianb | 2006-03-13 | 1 | -34/+84 |
| | | | | dynamically reads headers from the WSGI environment; altered request object to cache a little less (still more to remove); made urlvars a request value | ||||
* | Fixed WSGIRequest not parsing right, updating unit tests for WSGIRequest | bbangert | 2006-03-13 | 1 | -18/+10 |
| | |||||
* | Fixed headers property | bbangert | 2006-03-09 | 1 | -4/+3 |
| | |||||
* | Added body, headers prototype | bbangert | 2006-03-09 | 1 | -3/+9 |
| | |||||
* | Added cookies and urlvars to WSGIRequest | bbangert | 2006-03-09 | 1 | -5/+10 |
| | |||||
* | Updated to be a bit more simple since only retrieving was needed | bbangert | 2006-03-09 | 1 | -82/+65 |
| | |||||
* | - removing trailing spaces | cce | 2006-03-09 | 1 | -47/+51 |
| | | | | - fixing wrap to fit within 80 cols | ||||
* | Using textwrap to remove indentation from doc strings for properties | bbangert | 2006-03-09 | 1 | -26/+31 |
| | |||||
* | Fixed properties for WSGIRequest, added multidict. Caution, still needs to ↵ | bbangert | 2006-03-09 | 1 | -24/+44 |
| | | | | be tested | ||||
* | Should now be handling form/get args properly | bbangert | 2006-03-09 | 1 | -13/+31 |
| | |||||
* | Fixed improper name of WSGIRequest object | bbangert | 2006-03-08 | 1 | -2/+2 |
| | |||||
* | Fixed doc style to conform to PEP8/257. Added WSGIRequest object, added ↵ | bbangert | 2006-03-08 | 1 | -6/+181 |
| | | | | parse_dict_querystring. | ||||
* | Added a method to resolve a relative URI in the context of a WSGI request ↵ | ianb | 2006-01-27 | 1 | -1/+15 |
| | | | | (urljoin+construct_url) | ||||
* | Added a request.parse_headers() function for incoming requests environment ↵ | ianb | 2006-01-22 | 1 | -0/+19 |
| | | | | mapped to headers. (Should there also be a lazy option that reads the dictionary live from an environment?) |