summaryrefslogtreecommitdiff
path: root/paste/request.py
Commit message (Collapse)AuthorAgeFilesLines
* fixing parse_formvars to permit missing QUERY_STRING, whichcce2006-09-031-1/+1
| | | | is permitted by the WSGI specification
* Updated form var caching so that the REQUEST_METHOD is not part of the cache ↵bbangert2006-08-211-1/+1
| | | | key.
* renamed the multidict class to MultiDictpjenvey2006-07-251-6/+6
|
* o request.parse_formvars changes:pjenvey2006-07-241-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 ↵ianb2006-07-201-1/+15
| | | | variables
* Changed usage of MultiDict to util.multidictianb2006-07-191-30/+3
|
* made MultiDict iterablepjenvey2006-06-201-2/+2
|
* Added copyright header to a bunch of filesianb2006-06-131-0/+2
|
* fix for non-form POSTs, putting all the variables in __body__ianb2006-05-071-15/+24
|
* Moved WSGIRequest from request -> wsgiwrappers. Created WSGIResponse object ↵bbangert2006-03-191-126/+1
| | | | in wsgiwrappers.
* Fixed bug with WSGIRequest paramsbbangert2006-03-191-2/+2
|
* Added a get_cookie_headers function; added a dictionary-like object that ↵ianb2006-03-131-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 WSGIRequestbbangert2006-03-131-18/+10
|
* Fixed headers propertybbangert2006-03-091-4/+3
|
* Added body, headers prototypebbangert2006-03-091-3/+9
|
* Added cookies and urlvars to WSGIRequestbbangert2006-03-091-5/+10
|
* Updated to be a bit more simple since only retrieving was neededbbangert2006-03-091-82/+65
|
* - removing trailing spacescce2006-03-091-47/+51
| | | | - fixing wrap to fit within 80 cols
* Using textwrap to remove indentation from doc strings for propertiesbbangert2006-03-091-26/+31
|
* Fixed properties for WSGIRequest, added multidict. Caution, still needs to ↵bbangert2006-03-091-24/+44
| | | | be tested
* Should now be handling form/get args properlybbangert2006-03-091-13/+31
|
* Fixed improper name of WSGIRequest objectbbangert2006-03-081-2/+2
|
* Fixed doc style to conform to PEP8/257. Added WSGIRequest object, added ↵bbangert2006-03-081-6/+181
| | | | parse_dict_querystring.
* Added a method to resolve a relative URI in the context of a WSGI request ↵ianb2006-01-271-1/+15
| | | | (urljoin+construct_url)
* Added a request.parse_headers() function for incoming requests environment ↵ianb2006-01-221-0/+19
| | | | mapped to headers. (Should there also be a lazy option that reads the dictionary live from an environment?)
* A bunch of little import cleanups noted from pyflakesianb2005-12-181-1/+1
|
* Merged changes from cce branch (r3727:HEAD/4008); the branch is now in sync ↵ianb2005-12-131-0/+214
with trunk