Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | h2: move header parsing to netlib | Shadab Zafar | 2016-07-03 | 2 | -0/+39 |
|/ | |||||
* | fix tcp message handling | Maximilian Hils | 2016-07-01 | 1 | -1/+3 |
| | |||||
* | py3++ | Maximilian Hils | 2016-07-01 | 3 | -7/+17 |
| | |||||
* | Handle case when scheme is None | Shadab Zafar | 2016-07-01 | 1 | -1/+1 |
| | |||||
* | http2: improve error handling in tests | Thomas Kriechbaumer | 2016-06-22 | 1 | -1/+2 |
| | |||||
* | move custom HTTP/2 stack from netlib to pathod | Thomas Kriechbaumer | 2016-06-17 | 2 | -434/+0 |
| | |||||
* | Py3: fix http2 bytes issue | Shadab Zafar | 2016-06-15 | 1 | -2/+2 |
| | |||||
* | Remove odict | Aldo Cortesi | 2016-06-09 | 1 | -4/+5 |
| | | | | | | | | - Adds default implementations for _kconv and _reduce_values to MultiDict. Without these, operations fail in really, really non-obvious ways. - Replace the remaining few instances of ODict Fixes #1159 | ||||
* | Utils cleanups | Aldo Cortesi | 2016-06-07 | 2 | -3/+16 |
| | | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes. | ||||
* | minor fixes | Maximilian Hils | 2016-06-06 | 2 | -5/+5 |
| | |||||
* | Fix test that may fail due to binary header data | Aldo Cortesi | 2016-06-05 | 1 | -1/+3 |
| | | | | | | | | This is just inherently not a determinisitc test. We don't use the log HTTP interface any more, so it can just go. A more radical "solution" is inbound shortly. Fixes #1207 | ||||
* | Utils reorganisation: add netlib.strutils | Aldo Cortesi | 2016-06-02 | 3 | -7/+7 |
| | | | | Extract a number of string and format-related functions to netlib.strutils. | ||||
* | Merge pull request #1183 from mitmproxy/module-imports | Aldo Cortesi | 2016-06-01 | 1 | -1/+3 |
|\ | | | | | use module-level imports only |