Commits

Author Commit Message Labels Comments Date
Daniel Holth
test various Request methods in wsgiref.simple_server
Sergey Schetinin
add PendingDeprecationWarning for setting req.body_file to a string value
Sergey Schetinin
remove deprecated `environ_getter` arg of Request constructor
Sergey Schetinin
update pypi description
Sergey Schetinin
make pypi downloads even leaner. for full package with tests and docs use repo checkout / download
Sergey Schetinin
Add req.is_body_readable / env['webob.is_body_readable'] flag and only read wsgi.input if either CONTENT_LENGTH is present or that flag is set. This partially reverts the change made in 1.0.2 in how the missing CONTENT_LENGTH is interpreted -- in 1.0.1 and before the body would be assumed to be empty, in 1.0.2-1.0.5 webob would attempt to read it. This restores compatibility with some servers (CherryPy 3.2, wsgiref and possibly more). Note that with this new flag we can support FakeCGIBody and chunked input streams without the env['CONTEN…
Sergey Schetinin
use env['wsgi.input'].read() instead of .read(-1), because the former is specified more explicitly in PEP-3333 (see also: https://bitbucket.org/ianb/webob/issue/6 )
Sergey Schetinin
remove docs publishing code
Sergey Schetinin
remove dead code from req.str_cookies [from pycon2011 sprint]
Sergey Schetinin
fix UpdateDict.pop() (did not support any arguments) and .setdefault() (was not returning anything) [from pycon2011 sprint w/ edits]
Sergey Schetinin
make CacheControl usage of UpdateDict overridable via CacheControl.update_dict [from pycon2011 sprint]
Sergey Schetinin
add '_now' test hook in datetime_utils [from pycon2011 sprint w/ edits]
Sergey Schetinin
fix webob.dec.__repr__ [from pycon2011 sprint]
Sergey Schetinin
remove unnecessary guards and 'fixme' comments from request.AdhocAttrMixin [from pycon2011 sprint]
Sergey Schetinin
wrap lines to mostly conform to PEP-8, add pragma comments where necessary, small docstring edits [from pycon2011 sprint]
Sergey Schetinin
This commit aggregates most of the work done at the 2011 PyCon Pyramid sprint in Atlanta GA. Only tests updates are in it, library code changes are committed separately. The sprint was organised by Chris McDonough and provided WebOb with 100% statement coverage. Participated: Alexandre Conrad, Patricio Paez, Whit Morriss, Rob Miller, Reed O'Brien, Chris Shenton, Joe Dallago, Tres Seaver, Casey Duncan, Kai Groner, Chris McDonough. The bitbucket fork on which this work was done is at https://bitbucket.org/chrism/webob-py3k and contains a detailed changelog. A big th…
Daniel Holth
add test for request.copy() after fork
Sergey Schetinin
Added tag 1.0.5 for changeset a23cb6e16dbf
Sergey Schetinin
version 1.0.5
Tags
1.0.5
Sergey Schetinin
restore python 2.4 compatibility
Sergey Schetinin
add some links to pypi description
Sergey Schetinin
fix markup
Sergey Schetinin
Added tag 1.0.4 for changeset b29a080a7e98
Sergey Schetinin
update version (1.0.4)
Tags
1.0.4
Sergey Schetinin
update news.txt
Sergey Schetinin
update docstrings
Sergey Schetinin
* add Request.from_string * remove headers.setdefault('host', ...) in req.as_string() * from_file: do not read entire input file for non-PUT/POST requests or when content-length is 0
Jon Nelson
- correct Request.as_string to use CRLF - correct Request.as_string when skip_body is a positive integer, to place the pseudo-body after a blankline following the headers - fix a number of issues with Request.from_file -- parity between as_string and from_file should be MUCH better, now - use dtopt NORMALIZE_WHITESPACE
Sergey Schetinin
* revert body_file semantics to 1.0.1 and earlier * add req.body_file_seekable
Sergey Schetinin
revert the change that was making accesses to body_file seek the stream. side-effects on property access is never a good idea.
  1. Prev
  2. Next