Commits

Author Commit Message Labels Comments Date
Mariano Mara
Added coverage for BaseRequest.blank and environ_from_url
Mariano Mara
Merging updates from offical trunk + deleting a no longer valid test due to the new changes
Sergey Schetinin
never do .read() w/o an argument on wsgi.input
Sergey Schetinin
update news.txt w/ descriptions of my commits
Ian Bicking
Added support for decode_content and the deflate method
Sergey Schetinin
* refactor req.body to use .make_body_seekable() instead of duplicating the code * add req.is_body_seekable property * fix seekable check to verify that .seek() not only exists but does not throw an error * clean up .copy_body() code
Sergey Schetinin
change `req.body_file = fileobj` so that the CONTENT_LENGTH is removed, not set to '-1' (which is invalid)
Hampus Wessman
Add test case for input with broken seek method. Makes sure that Request.copy() works when the input has a broken seek method (that raises IOError). make_body_seekable() may still be a problem...
Sergey Schetinin
* add req.as_string() alias to __str__ * support as_string(skip_body=<int>) argument + tests
Mariano Mara
Two extra checks for from_file: 1 missing check ahead
Mariano Mara
Continue working with from_file method, still work in progress
Danny Navarro
merge from upstream
Sergey Schetinin
make req.upath_info and req.uscript_name settable
Sergey Schetinin
fix Response().content_type = None (typo: was removing cache_control instead)
Sergey Schetinin
_test_mlk: no need for create_suite()
Sergey Schetinin
UnicodeMultiDict requires a MultiDict to wrap, correct the default argument values accordingly
Mariano Mara
Added repr test and first test for from_file method (still some parts missing)
Mariano Mara
Now we really have 100% coverage for copy_body
Mariano Mara
added tests for BaseRequest.copy_body and BaseRequest.make_body_seekable
Mariano Mara
Merging
Mariano Mara
Merging with latest modifications from Danny Navarro
Mariano Mara
Danny Navarro
test setting headerlist with list like object and object with items
Danny Navarro
test set status with unicode string and non str type
Danny Navarro
delete conflicting line from upstream, undefined variable
Danny Navarro
merge from upstream
Sergey Schetinin
refactor conditional_response_app a bit
Sergey Schetinin
fix Response.merge_cookies + test (obv, this is actually not used by anyone, deprecate?)
Sergey Schetinin
add some cookie tests
Sergey Schetinin
make _test_mlk.py actually work on every platform
  1. Prev
  2. Next