Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify that 'expires' values MUST have a comma now | Shadab Zafar | 2016-09-27 | 1 | -1/+4 |
| | |||||
* | Modify format_set_cookie_header to take cookie list | Shadab Zafar | 2016-09-27 | 2 | -15/+24 |
| | | | | and return a comma separated string of cookies | ||||
* | Fixup an error with indices | Shadab Zafar | 2016-09-27 | 1 | -1/+1 |
| | |||||
* | Refactor functions | Shadab Zafar | 2016-09-27 | 1 | -35/+26 |
| | |||||
* | Add a new pairs reader for SetCookie headers | Shadab Zafar | 2016-09-27 | 1 | -3/+15 |
| | |||||
* | Rename _read_pairs to _read_cookie_pairs | Shadab Zafar | 2016-09-27 | 1 | -3/+22 |
| | | | | We will have a separate _read_set_cookie_pairs | ||||
* | Rename _read_token to _read_key | Shadab Zafar | 2016-09-27 | 1 | -8/+8 |
| | | | | Since we also have a _read_value | ||||
* | Move CookieAttrs and SetCookie to top | Shadab Zafar | 2016-09-27 | 1 | -18/+14 |
| | |||||
* | Minor refactor | Shadab Zafar | 2016-09-27 | 1 | -2/+3 |
| | |||||
* | Add support for comma separated cookies | Shadab Zafar | 2016-09-27 | 1 | -30/+51 |
| | |||||
* | Merge pull request #1564 from mhils/issue-1554 | Maximilian Hils | 2016-09-21 | 1 | -9/+10 |
|\ | | | | | Fix Response.make content-length header | ||||
| * | fix Response.make content-length header | Maximilian Hils | 2016-09-21 | 1 | -9/+10 |
| | | |||||
* | | raise TypeError on invalid header assignment, fix #1562 | Maximilian Hils | 2016-09-21 | 1 | -0/+1 |
|/ | |||||
* | http2: improve framereader | Thomas Kriechbaumer | 2016-09-03 | 2 | -5/+10 |
| | |||||
* | Lint fix - minor | arjun23496 | 2016-08-31 | 1 | -2/+1 |
| | |||||
* | Lint fix - netlib headers | arjun23496 | 2016-08-31 | 1 | -4/+2 |
| | |||||
* | minor bug fix header replace | arjun23496 | 2016-08-31 | 1 | -3/+7 |
| | |||||
* | Added tests for replace in request,message,header | arjun23496 | 2016-08-31 | 1 | -0/+2 |
| | |||||
* | Minor bug fix - messages.py replace | arjun23496 | 2016-08-29 | 1 | -1/+1 |
| | |||||
* | Added replace for request and headers - Fixed missing replace option | arjun23496 | 2016-08-29 | 2 | -5/+6 |
| | |||||
* | Added count argument for replace for contents in body | arjun23496 | 2016-08-26 | 1 | -2/+2 |
| | |||||
* | wrap long lines | Thomas Kriechbaumer | 2016-08-24 | 2 | -4/+24 |
| | |||||
* | introduce Response.make for simple response creation | Maximilian Hils | 2016-08-23 | 1 | -5/+49 |
| | |||||
* | Merge pull request #1480 from mhils/reverse-proxy-auth | Thomas Kriechbaumer | 2016-08-16 | 1 | -3/+13 |
|\ | | | | | Add basic auth support for reverse proxy mode | ||||
| * | add basic auth support for reverse proxy mode | Maximilian Hils | 2016-08-13 | 1 | -3/+13 |
| | | |||||
* | | Simplify cookies.is_expired | Shadab Zafar | 2016-08-15 | 1 | -16/+7 |
| | | |||||
* | | Add a function to get cookie expiration time | Shadab Zafar | 2016-08-15 | 1 | -0/+26 |
| | | |||||
* | | Add method to group pairs by cookies | Shadab Zafar | 2016-08-15 | 1 | -0/+31 |
|/ | |||||
* | fix tests | Maximilian Hils | 2016-08-04 | 1 | -0/+1 |
| | |||||
* | simplify contentview logic | Maximilian Hils | 2016-08-04 | 1 | -0/+1 |
| | |||||
* | Integrated encode/decoder for brotli | Angelo Agatino Nicolosi | 2016-07-30 | 2 | -2/+2 |
| | |||||
* | improve query/path_components getter/setter | Maximilian Hils | 2016-07-24 | 2 | -19/+49 |
| | |||||
* | remove content caching in netlib.http.Message | Maximilian Hils | 2016-07-23 | 1 | -84/+31 |
| | |||||
* | fix test_view_urlencoded | Maximilian Hils | 2016-07-23 | 1 | -0/+1 |
| | |||||
* | fix content view cache invalidation | Maximilian Hils | 2016-07-21 | 1 | -6/+0 |
| | |||||
* | fix-1366 | Thomas Kriechbaumer | 2016-07-16 | 1 | -3/+2 |
| | |||||
* | Merge pull request #1306 from mitmproxy/message-body-encoding | Maximilian Hils | 2016-07-16 | 5 | -79/+213 |
|\ | | | | | Improve Message Body Encoding | ||||
| * | preserve content-type parameter order | Maximilian Hils | 2016-07-15 | 1 | -1/+2 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into message-body-encoding | Maximilian Hils | 2016-07-15 | 7 | -2/+96 |
| |\ | |||||
| * | | improve message content semantics | Maximilian Hils | 2016-07-15 | 2 | -52/+93 |
| | | | |||||
| * | | raise ValueError if content-encoding is invalid | Maximilian Hils | 2016-07-04 | 2 | -16/+38 |
| | | | |||||
| * | | tests++ | Maximilian Hils | 2016-07-02 | 1 | -3/+3 |
| | | | |||||
| * | | make the linter happy | Maximilian Hils | 2016-07-02 | 1 | -1/+1 |
| | | | |||||
| * | | message.content -> .raw_content, implement .text | Maximilian Hils | 2016-07-02 | 4 | -66/+139 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR improves our handling of HTTP message body encodings: - The unaltered message body is now accessible as `.raw_content` - The "content-encoding"-decoded content (i.e. gzip removed) content is not `.content`, as this is what we want in 99% of the cases. - `.text` now provides the "content-encoding"-decoded and then "content-type charset"-decoded message body. - The decoded values for `.content` and `.text` are cached, so that repeated access and `x.text = x.text` is cheap. - The `decoded()` decorator is now deprecated, as we can now just use `.content`. Similarly `HTTPMessage.get_decoded_content()` is deprecated. | ||||
* | | | replacehooks -> addon | Aldo Cortesi | 2016-07-16 | 1 | -2/+2 |
| |/ |/| | | | | | | | Also fixes a bug in header replacements in netlib that resulted in a mutable multidict. | ||||
* | | Test cookies.is_expired separately | Shadab Zafar | 2016-07-10 | 1 | -4/+9 |
| | | |||||
* | | Move cookie expiry detection to separate function | Shadab Zafar | 2016-07-09 | 1 | -1/+23 |
| | | |||||
* | | py3++ | Maximilian Hils | 2016-07-07 | 3 | -1/+23 |
| | | |||||
* | | py3++, multidict fixes | Maximilian Hils | 2016-07-06 | 2 | -3/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit improves Python 3 compatibility and fixes two multidict issues: 1. Headers.items(multi=True) now decodes fields 2. MultiDict.clear(item) has been removed, as Python's MutableMapping already defines .clear() with different semantics. This is confusing for everyone who expects a dict-like object. `.pop("attr", None)` is not fantastic, but it's the Python way to do it. | ||||
* | | py3: fix bytes vs. str | Thomas Kriechbaumer | 2016-07-03 | 1 | -4/+4 |
| | |