| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add some tests for compat cgi_FieldStorage | Bert JW Regeer | 2016-11-17 | 1 | -0/+88 |
| | | | | | | This makes sure that we don't regress on our FieldStorage support across supported versions of Python | ||||
| * | Remove test for key in set_cookie | Bert JW Regeer | 2016-11-17 | 1 | -18/+0 |
| | | |||||
| * | 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 |
| | | |||||
| * | Location header requires a HTTP status code that supports itperf/response | Bert JW Regeer | 2016-10-02 | 1 | -0/+1 |
| | | |||||
| * | Add tests to verify current behaviour for charset | Bert JW Regeer | 2016-10-02 | 1 | -0/+24 |
| | | |||||
| * | Update tests for making location absolute | Bert JW Regeer | 2016-10-02 | 1 | -14/+29 |
| | | |||||
| * | Add test for resp.content_type = 'someval' | Bert JW Regeer | 2016-09-30 | 1 | -0/+5 |
| | | |||||
| * | Add new tests for Response.__init__ | Bert JW Regeer | 2016-09-30 | 1 | -0/+40 |
| | | | | | | Add tests for class defaults. There were no tests for default_content_type or default_charset | ||||
| * | Fix tests | Bert JW Regeer | 2016-09-30 | 1 | -2/+2 |
| | | |||||
| * | Cleanup tests for Response.__init__ | Bert JW Regeer | 2016-09-30 | 1 | -16/+3 |
| | | |||||
| * | Update tests for default_body_encodingfeature/default_body_encoding | Bert JW Regeer | 2016-09-30 | 1 | -2/+14 |
| | | |||||
| * | Fix some test helpers | Bert JW Regeer | 2016-09-29 | 1 | -2/+10 |
| | | |||||
| * | Without Content-Length, we don't read body | Bert JW Regeer | 2016-09-29 | 1 | -2/+8 |
| | | | | | | If there is no Content-Length then we don't read the body, thus the tests that used to be able to assume True are now no longer True. | ||||
| * | 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 an extra test | Bert JW Regeer | 2016-07-30 | 1 | -0/+7 |
| | | |||||
| * | Merge branch 'master' into pr/117 | Bert JW Regeer | 2016-07-30 | 21 | -1928/+2901 |
| |\ | |||||
| | * | Remove unused import | Bert JW Regeer | 2016-07-30 | 1 | -1/+0 |
| | | | |||||
| | * | Merge branch 'master' into pr/228 | Bert JW Regeer | 2016-07-30 | 3 | -10/+142 |
| | |\ | |||||
| | | * | Add new tests | Bert JW Regeer | 2016-07-29 | 1 | -0/+33 |
| | | | | |||||
| | | * | Fixup tests | Bert JW Regeer | 2016-07-16 | 1 | -2/+10 |
| | | | | |||||
| | | * | On HTTP status codes without body, don't set content type | Bert JW Regeer | 2016-07-16 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using Request.get_response() the response from the application may contain a status code that does not allow for an message-body to be returned, in this case adding the content type header is not valid, and potentially changes the original response. Closes #205 | ||||
| | | * | Add space in content_type | Bert JW Regeer | 2016-07-16 | 1 | -1/+1 |
| | | | | |||||
| | | * | Verify that content_type doesn't modify parameters if passed | Bert JW Regeer | 2016-07-16 | 1 | -0/+2 |
| | | | | |||||
| | | * | Flip assert around | Bert JW Regeer | 2016-07-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | Makes pytest output more sane | ||||
| | | * | Allow charset on all content_types | Bert JW Regeer | 2016-07-16 | 1 | -10/+0 |
| | | | | | | | | | | | | | | | | | | | Don't try to stop the user from shooting themselves in the foot, if the user explicitly asks for a charset, even on a content type that may not support it as a paramater who are we tell them they can't do that. | ||||
| | | * | response: improve charset defaults | Riley Patterson | 2016-07-16 | 3 | -5/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| | | * | Adds Reponse.has_body. | Martin Thurau | 2016-06-29 | 1 | -0/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Purpose of this property is to allow users to check if the Response has a body without forcing an evaulation of the underlying app_iter. This is handy if you wan't to create a streaming response where the app_iter itself is lazy (i.e. streams data over a socket) or the app_iter can only read once. | ||||
| | | * | Merge branch 'master' into bugfix/exc_json_response | Bert JW Regeer | 2016-06-02 | 18 | -1950/+1907 |
| | | |\ | |||||
| | | | * | Add failing test for #250 | Bert JW Regeer | 2016-05-19 | 1 | -0/+7 |
| | | | | | |||||
| | | * | | Make sure WSGIHTTPException does the right thing with accept headers | Bert JW Regeer | 2016-04-14 | 1 | -2/+47 |
| | | | | | |||||
| | * | | | Merge branch 'master' of github.com:Pylons/webob | Yidong Ren | 2016-04-19 | 18 | -1951/+1901 |
| | |\ \ \ | | | |/ | | |/| | |||||
| | | * | | test_datetime_utils.py converted to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -45/+43 |
| | | | | | |||||
| | | * | | Python 2.7 really needs the coding header | Bert JW Regeer | 2016-04-15 | 1 | -0/+2 |
| | | | | | |||||
| | | * | | test_exc.py converted to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -69/+64 |
| | | | | | |||||
| | | * | | tests_headers.py converted to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -32/+34 |
| | | | | | | | | | | | | | | | | | Also remove unused class from test_headers.py | ||||
| | | * | | test_misc.py convert to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -37/+36 |
| | | | | | |||||
| | | * | | test_descriptors.py convert to assert from nose/unittest | Bert JW Regeer | 2016-04-15 | 1 | -137/+144 |
| | | | | | |||||
| | | * | | test_etag_nose.py convert to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -15/+17 |
| | | | | | |||||
| | | * | | test_etag.py convert to assert from nose/unittest | Bert JW Regeer | 2016-04-15 | 1 | -51/+47 |
| | | | | | |||||
| | | * | | test_client_functional.py convert to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -3/+5 |
| | | | | | |||||
| | | * | | test_in_wsgiref.py convert to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -8/+11 |
| | | | | | |||||
| | | * | | test_request.py convert to assert from nose/unittest | Bert JW Regeer | 2016-04-15 | 1 | -921/+886 |
| | | | | | |||||
| | | * | | test_request_nose.py convert to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -24/+25 |
| | | | | | |||||
| | | * | | test_response.py move to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -284/+304 |
| | | | | | |||||
| | | * | | test_transcode.py move to assert from nose | Bert JW Regeer | 2016-04-15 | 1 | -31/+11 |
| | | | | | |||||
