summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #424 from d70-t/deflate_with_zlib_containermasterBert JW Regeer2020-12-092-2/+22
|\ | | | | deflate'd response: use RFC compliant decompression by default
| * deflate'd response: use RFC compliant decompression by defaultTobias Kölling2020-12-092-2/+22
|/ | | | | | | | | | | | | | | | | | | | | | [RFC7230](https://tools.ietf.org/html/rfc7230#section-4.2.2) specifies that > The "deflate" coding is a "zlib" data format [RFC1950](https://tools.ietf.org/html/rfc1950) containing a > "deflate" compressed data stream [RFC1951](https://tools.ietf.org/html/rfc1951) that uses a combination of > the Lempel-Ziv (LZ77) compression algorithm and Huffman coding. but also > Note: Some non-conformant implementations send the "deflate" > compressed data without the zlib wrapper. Thus deflate coded data should be expected to be received within a "zlib" container, however if no container is present, the data shouldn't be rejected. This patch tries to decode that data using RFC7230 conformant decoding and falls back to unwrapped decoding only if the previous attempt didn't work.
* Merge pull request #390 from Pylons/webob-ngBert JW Regeer2020-11-2853-2596/+1564
|\ | | | | WebOb 2.0 - Now with less Python 2
| * Drop Py3.4/3.5 add Py3.6->3.9webob-ngBert JW Regeer2020-11-281-3/+4
| |
| * Move items out of compat: url_parse/url_unquote and moreBert JW Regeer2020-11-288-57/+71
| |
| * Rely on compare_digest instead of strings_differBert JW Regeer2020-11-283-93/+4
| |
| * Format using isort/black to satisfy linterBert JW Regeer2020-11-2831-127/+148
| |
| * Upgrade sample code in docs to Python 3Bert JW Regeer2020-11-286-225/+263
| |
| * Switch to Github ActionsBert JW Regeer2020-11-285-118/+140
| |
| * set() -> {}Bert JW Regeer2020-11-281-1/+1
| |
| * Drop u"" prefixBert JW Regeer2020-11-281-2/+2
| |
| * Remove unnecesary encode to latin-1Bert JW Regeer2020-11-281-1/+1
| |
| * Remove coding lineBert JW Regeer2020-11-281-2/+0
| |
| * yield from instead of loop + yieldBert JW Regeer2020-11-282-8/+4
| |
| * Catch/raise OSError instead of IOErrorBert JW Regeer2020-11-284-6/+6
| |
| * Use bare super()Bert JW Regeer2020-11-281-2/+2
| |
| * Cleanup comprehensionBert JW Regeer2020-11-284-9/+9
| |
| * Drop object from class definitionBert JW Regeer2020-11-2828-180/+180
| |
| * Add test for _encode_multipart which is not public APIBert JW Regeer2020-11-282-1/+27
| |
| * Test was modified in 254f7a68 accidentallyBert JW Regeer2020-11-281-1/+1
| |
| * Add missing test for coverageBert JW Regeer2020-11-281-4/+9
| |
| * s/isAlive/is_alive/Bert JW Regeer2020-11-281-1/+1
| |
| * Remove __unicode__Bert JW Regeer2020-11-284-20/+7
| |
| * Remove duplicate isinstance checksBert JW Regeer2020-11-281-7/+0
| |
| * Remove no longer reachable checkBert JW Regeer2020-11-281-13/+0
| | | | | | | | | | Python will raise a TypeError for us when any part of the app_iter contains a non-byte object.
| * header_getter now checks value type before usingBert JW Regeer2020-11-282-2/+12
| |
| * parsedate_tz defaults to UTCBert JW Regeer2020-11-282-48/+31
| | | | | | | | So if the timezone is missing, we no longer need to manually add it.
| * Make function more pythonicBert JW Regeer2020-11-281-5/+3
| |
| * Cleanup documentationBert JW Regeer2020-11-281-2/+2
| |
| * Import from collections.abc directlyBert JW Regeer2020-11-286-15/+29
| |
| * Remove native_ and move bytes_, text_ to webob.utilBert JW Regeer2020-11-2820-128/+438
| | | | | | | | | | | | | | | | This removes any calls to `native_`, most of which should have been calls to `text_` in the first place. Also moves `bytes_` and `text_` to `webob.util` where they are more at home as we continue to remove items from `webob.compat`
| * Remove compat.iter{values_,items_}Bert JW Regeer2020-11-283-15/+6
| |
| * Goodbye to compat.{string_types,integer_types,class_types,text_type,long}Bert JW Regeer2020-11-2812-64/+50
| |
| * Remove dead codeBert JW Regeer2020-11-281-3/+1
| |
| * Remove compat.reraiseBert JW Regeer2020-11-283-18/+10
| |
| * Remove old kwargs from BaseRequestBert JW Regeer2020-11-282-58/+2
| |
| * No longer monkeypatch paste HTTP exceptionsBert JW Regeer2020-11-281-19/+0
| |
| * Remove expires kwarg to set_cookieBert JW Regeer2020-11-282-110/+0
| |
| * compat is now Py3 onlyBert JW Regeer2020-11-281-116/+58
| |
| * Goodbye compat.PY2 linesBert JW Regeer2020-11-2810-272/+72
| |
| * cgi.FieldStorage.__repr__ patch moves to compatBert JW Regeer2020-11-283-105/+103
| |
| * Goodbye FakeCGIBodyBert JW Regeer2020-11-282-159/+0
| |
| * Remove LegacyRequestBert JW Regeer2020-11-284-701/+3
| |
| * Remove all Python 2.7 testing framework stuffsBert JW Regeer2020-11-284-25/+14
|/
* Merge pull request #404 from Pylons/fix-linkcheckBert JW Regeer2020-11-289-40/+40
|\ | | | | Fix linkcheck
| * Revert ↵fix-linkcheckSteve Piercy2019-08-181-1/+1
| | | | | | | | https://github.com/Pylons/webob/pull/404/commits/c6b623702d72323986ef7c3c1c693cfa49d02b55#r315006064
| * linkcheck to fix busted URLsSteve Piercy2019-08-179-40/+40
| |
| * api/request.txt:1: [broken] ↵Steve Piercy2019-08-171-1/+1
| | | | | | | | http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.1.9: Anchor 'sec4.1.9' not found
* | Merge pull request #422 from gjo/response_write_return_lenMichael Merickel2020-10-203-8/+13
|\ \ | | | | | | add return value to Response.write
| * | Update CHANGES.txtGouji Ochiai2020-10-181-1/+1
| | | | | | | | | Co-authored-by: Steve Piercy <web@stevepiercy.com>