| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Place imports in alphabetical order. | Ira Lun | 2017-08-29 | 1 | -3/+3 |
| | | |||||
| * | Fix assert. | Ira Lun | 2017-08-29 | 1 | -1/+1 |
| | | | | | | '' is a valid value for the Accept header, and bool(AcceptValidHeader) is True. | ||||
| * | Update import and isinstance test. | Ira Lun | 2017-08-29 | 1 | -2/+2 |
| | | |||||
| * | Add tests for request.accept. | Ira Lun | 2017-08-29 | 1 | -0/+23 |
| | | |||||
| * | Add request.accept_charset tests. | Ira Lun | 2017-08-29 | 1 | -0/+26 |
| | | |||||
| * | Add tests for request.accept_encoding. | Ira Lun | 2017-08-29 | 1 | -0/+25 |
| | | |||||
| * | Change test imports to module scope. | Ira Lun | 2017-08-02 | 1 | -3/+5 |
| | | |||||
| * | Use accept_language_property in request. | Ira Lun | 2017-07-23 | 1 | -0/+25 |
| | | |||||
| * | Add some IPv6 HTTP_HOST tests | Bert JW Regeer | 2017-06-30 | 1 | -0/+36 |
| | | |||||
| * | Remove nose based test file, and move tests to requests.py | Bert JW Regeer | 2017-05-23 | 1 | -0/+66 |
| | | |||||
| * | Remove PY3 stuff and mark certain tests as py2only | Bert JW Regeer | 2017-05-22 | 1 | -54/+50 |
| | | |||||
| * | Allow unnamed fields in form content | Anthony Sottile | 2017-03-02 | 1 | -0/+14 |
| | | |||||
| * | 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 |
| | | | | |||||
