| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update test with all newly un-pct-encoded chars | Bert JW Regeer | 2016-11-16 | 1 | -1/+1 |
| | | |||||
| * | Add test to verify paths are percent encoded | Bert JW Regeer | 2016-11-16 | 1 | -0/+6 |
| | | |||||
| * | Fix tests | Bert JW Regeer | 2016-09-30 | 1 | -2/+2 |
| | | |||||
| * | UnseekableInput now allows reads larger than length | Bert JW Regeer | 2016-09-29 | 1 | -1/+2 |
| | | |||||
| * | Use UnseekableInput to test for no seek | Bert JW Regeer | 2016-09-29 | 1 | -0/+4 |
| | | |||||
| * | Don't use DummyIO, use BytesIO | Bert JW Regeer | 2016-09-29 | 1 | -10/+14 |
| | | |||||
| * | Set CONTENT_LENGTH in environ for tests | Bert JW Regeer | 2016-09-29 | 1 | -7/+6 |
| | | | | | Without it, there is no body and nothing is readable | ||||
| * | Req.body_file no longer accepts bytes | Bert JW Regeer | 2016-09-29 | 1 | -1/+1 |
| | | | | | | This has been deprecated since WebOb 1.2 and non-functional for a long time. | ||||
| * | Add new tests | Bert JW Regeer | 2016-07-29 | 1 | -0/+33 |
| | | |||||
| * | response: improve charset defaults | Riley Patterson | 2016-07-16 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | Refactored the logic in Response.__init__ to handle default charset more consistently. Added logic in the charset setter that ignores attempts to set it on JSON content types. Removed explicit charset specification from exceptions since this is handled correctly for the text types within Response. Fixed some affected tests, and added assertions for content types in exceptions. Addresses https://github.com/Pylons/webob/issues/237 | ||||
| * | Python 2.7 really needs the coding header | Bert JW Regeer | 2016-04-15 | 1 | -0/+2 |
| | | |||||
| * | test_request.py convert to assert from nose/unittest | Bert JW Regeer | 2016-04-15 | 1 | -921/+886 |
| | | |||||
| * | Remove tests for old deprecated features | Bert JW Regeer | 2016-01-28 | 1 | -10/+0 |
| | | |||||
| * | Merge pr '183' of jonatasoliveira into bugfix/decode_consumed_stream | Bert JW Regeer | 2016-01-28 | 1 | -0/+16 |
| |\ | |||||
| | * | Using the correct body to be consumed again by decode(). | Jonatas Oliveira | 2014-12-23 | 1 | -0/+16 |
| | | | |||||
| * | | Merge pr '#185' of ltvolks into feature/wildcardMIMEAccept | Bert JW Regeer | 2016-01-28 | 1 | -1/+0 |
| |\ \ | |||||
| | * | | Allow wildcards to be used when comparing a MIMEAccept against an offer | Lucas Taylor | 2015-03-23 | 1 | -1/+0 |
| | |/ | | | | | | | | | | | - Use list comprehension instead of map for minor performance gain in ``MIMEAccept.parse`` - Fixes #155 | ||||
| * | | Merge pull request #215 | Bert JW Regeer | 2015-09-06 | 1 | -0/+13 |
| |\ \ | |||||
| | * | | Handle PATCH missing content type in req.POST. | Laurence Rowe | 2015-09-02 | 1 | -0/+13 |
| | |/ | | | | | | | Avoids `TypeError: must be str, not bytes`. | ||||
| * | | Add missing test for FakeCGIBody.readable() | Bert JW Regeer | 2015-04-13 | 1 | -0/+5 |
| | | | |||||
| * | | Update test to just check the environment variablebugfix/modify_post | Bert JW Regeer | 2015-04-12 | 1 | -5/+1 |
| | | | | | | | | | | | The test was flawed in that it assumed that the body_file would be replaced with FakeCGIBody. | ||||
| * | | Request.POST should not replace Request.body_file | Bert JW Regeer | 2015-04-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | FakeCGIBody mangles anything that isn't actually form-encoded, such as JSON that isn't sent with the appropriate content type. We hereby remove the usage of FakeCGIBody and instead just make the body itself seekable. | ||||
| * | | Add failing test for request.POST modified body | Bert JW Regeer | 2015-04-11 | 1 | -0/+15 |
| | | | | | | | | | See https://github.com/Pylons/webob/issues/149 for more details. | ||||
| * | | request: read body from file if the method is PATCH | Julien Danjou | 2014-12-26 | 1 | -0/+17 |
| |/ | | | | | | Currently Request.from_file ignore the body of a request if the method is PATCH. This fixes that by using the dictionary we have to know if a request might have a body or not. | ||||
| * | Change from_string to from_bytes | Bert JW Regeer | 2014-04-16 | 1 | -2/+2 |
| | | | | | | This allows us to avoid a deprecationwarning being raised and makes the test compatible with version 1.3 or higher of WebOb. | ||||
| * | Test deprecation of functionality | Bert JW Regeer | 2014-04-16 | 1 | -11/+10 |
| | | |||||
| * | Add test for JSON body request with array | jturmel | 2014-02-15 | 1 | -0/+12 |
| | | | | | | * Add a test to make sure sending a JSON body where the root element is an array works correctly | ||||
| * | add test for wiggy's IRC condition | Chris McDonough | 2013-12-10 | 1 | -0/+12 |
| | | |||||
| * | - Added a read-only ``domain`` property to ``BaseRequest``. This property | Chris McDonough | 2013-11-27 | 1 | -0/+10 |
| | | | | | | | returns the domain portion of the host value. For example, if the environment contains an ``HTTP_HOST`` value of ``foo.example.com:8000``, ``request.domain`` will return ``foo.example.com``. | ||||
| * | Fix test for patch request | Luke Cyca | 2013-08-09 | 1 | -7/+1 |
| | | |||||
| * | Tests for PATCH request | Luke Cyca | 2013-08-09 | 1 | -0/+28 |
| | | |||||
| * | Wrap 80+ column lines. | Tres Seaver | 2013-03-29 | 1 | -15/+27 |
| | | | | | Leaving only those in triple-quoted strings representing protocol headers. | ||||
| * | Appease Py3k nanny: s/assert_/assertTrue/ | Tres Seaver | 2013-03-29 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'master' of github.com:Batterii/webob | Tom Willis | 2013-03-18 | 1 | -5/+55 |
| |\ | |||||
| | * | Fix issue #75: depending on dict order in test_headers2 | Aaron DeVore | 2012-10-30 | 1 | -1/+1 |
| | | | |||||
| | * | Merge https://github.com/Pylons/webob | Johan Euphrosine | 2012-08-09 | 1 | -2/+6 |
| | |\ | |||||
| | | * | fix an environment-dependent test failure on windows (mimetypes detection ↵ | Sergey Schetinin | 2012-08-09 | 1 | -2/+6 |
| | | | | | | | | | | | | | using windows registry) | ||||
| | * | | test_request: use utf8 encoded string instead unicode in asserts | Johan Euphrosine | 2012-08-09 | 1 | -1/+2 |
| | | | | |||||
| | * | | test_request: use text_ for unicode strings literal | Johan Euphrosine | 2012-08-09 | 1 | -2/+1 |
| | | | | |||||
| | * | | fix issue #64 - test_request: add test for multipart request with non ↵ | Johan Euphrosine | 2012-08-09 | 1 | -0/+46 |
| | |/ | | | | | | | default charset. | ||||
| | * | fix issue #64 - multidict.from_fieldstorage: decode fields value using charset. | Johan Euphrosine | 2012-08-08 | 1 | -1/+1 |
| | | | |||||
| | * | fix tests on py3 | Sergey Schetinin | 2012-05-29 | 1 | -2/+2 |
| | | | |||||
| * | | in the rare case when order matters for clients you need to use a MultiDict ↵ | Tom Willis | 2013-03-18 | 1 | -7/+20 |
| |/ | | | | | | and insert in the intended order | ||||
| * | unit test for proovage | Tom Willis | 2012-05-28 | 1 | -0/+7 |
| | | |||||
| * | test another case in req.text that was uncovered | Chris McDonough | 2012-05-08 | 1 | -0/+8 |
| | | |||||
| * | test a case in request.text that was uncovered | Chris McDonough | 2012-05-08 | 1 | -0/+8 |
| | | |||||
| * | Fix test for Python 2 | Ian Bicking | 2012-04-14 | 1 | -1/+1 |
| | | |||||
| * | Add some tests for Request.text, and .json | Ian Bicking | 2012-04-14 | 1 | -0/+31 |
| | | |||||
| * | Aliased json to json_body. Make json_body a settable value. Added ↵ | Ian Bicking | 2012-04-10 | 1 | -7/+8 |
| | | | | | json_body to the Response object. Set content-type: application/json if you set json_body in the instantiation of Response. Use simplejson if it is available. | ||||
| * | get rid of test_requests package, put tests back in test_request.py | Chris McDonough | 2012-01-28 | 1 | -0/+3444 |
| | | |||||
