Commits

Author Commit Message Labels Comments Date
zyegfryed
Fixed AssertionError raised by MimeAccept best_macth function when using wildcard Accept header.
Sergey Schetinin
remove deprecation warnings for .unicode_body / .ubody (most of the code affected would *not* really need to be changed anyway)
Sergey Schetinin
Added tag 1.1rc1 for changeset ed7ea0e74248
Sergey Schetinin
version 1.1rc1
Tags
1.1rc1
Sergey Schetinin
update news.txt
Sergey Schetinin
attempt to silence deprecation warnings during testing
Sergey Schetinin
fix wsgiref error logging noise (wsgiref is infuriating, argh...)
Sergey Schetinin
more tests
Sergey Schetinin
fix test (missing import)
Sergey Schetinin
bring back to 100% test coverage
Sergey Schetinin
* make Response.write much more efficient (https://bitbucket.org/ianb/webob/issue/18) * make sure copying responses does not reset content_length or content_md5 of the original (and that of future copies) * remove Response._body so the _app_iter is the only representation * merge ResponseBodyFile.write and Response.write
Sergey Schetinin
import rfc822 -> import email.utils
Sergey Schetinin
fix test on Jython (did you know that 'abc'.encode('utf-16') produces different strings on Jython and CPython?)
Sergey Schetinin
* change del res.body semantics so that it doesn't make the response invalid, but only removes the response body * deprecate response.ubody / unicode_body in favour of new .text attribute (the old names will be removed in 1.3 or even later)
Sergey Schetinin
Added tag 1.1b2 for changeset 803aefef458c
Sergey Schetinin
version 1.1b2
Tags
1.1b2
Sergey Schetinin
update news
Sergey Schetinin
add webob.__version__ ( https://bitbucket.org/ianb/webob/issue/16 )
Sergey Schetinin
mark statements lacking coverage
Sergey Schetinin
fix disconnection detection for more cases in .readline(); improve test coverage
Sergey Schetinin
When the client disconnects while sending request body, most servers just start returning '' from env['wsgi.input'].read(..) and similar. This means the apps get truncated requests. This commit makes req.body_file wrap the input stream in a proxy that detects such conditions and raises a DisconnectError exception while reading. This is used (and tested) to make sure req.body, req.POST, req.copy() and other request methods and properties do not result in truncated request bodies or form dictionaries, but raise an error instead. The tests use actual wsgiref server to send trun…
Sergey Schetinin
use __test__ attribute for skipping test_in_wsgiref.py on py2.5; reorder code a bit
Sergey Schetinin
refactor wsgiref tests to start just one server and use ctx management
Sergey Schetinin
make req.copy_body() not trust content-length as much + tests
Sergey Schetinin
syntax typos
Sergey Schetinin
change req.decode_param_maes default to True, warn about future deprecation
Sergey Schetinin
edit depreaction message
Sergey Schetinin
mark req.str_* for deprecation in 1.2
Sergey Schetinin
fix tests (sort POST dict in _encode_multipart)
Sergey Schetinin
fix test (dict iteration order)
  1. Prev
  2. Next