Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1426 from mhils/query-encoding | Maximilian Hils | 2016-07-24 | 3 | -19/+52 |
|\ | | | | | Fix query/path_components encoding | ||||
| * | improve query/path_components getter/setter | Maximilian Hils | 2016-07-24 | 3 | -19/+52 |
| | | |||||
* | | silence test warnings | Maximilian Hils | 2016-07-24 | 1 | -0/+2 |
|/ | |||||
* | remove content caching in netlib.http.Message | Maximilian Hils | 2016-07-23 | 1 | -84/+31 |
| | |||||
* | add single-element cache for netlib.encoding | Maximilian Hils | 2016-07-23 | 1 | -8/+39 |
| | |||||
* | Merge pull request #1402 from mhils/console-fixes | Maximilian Hils | 2016-07-23 | 1 | -0/+1 |
|\ | | | | | minor fixes | ||||
| * | fix test_view_urlencoded | Maximilian Hils | 2016-07-23 | 1 | -0/+1 |
| | | |||||
* | | improve dumper addon text alignment (#1415) | Maximilian Hils | 2016-07-23 | 1 | -2/+1 |
|/ | |||||
* | fix content view cache invalidation | Maximilian Hils | 2016-07-21 | 2 | -9/+3 |
| | |||||
* | Fix netlib.utils.is_valid_host | Aldo Cortesi | 2016-07-21 | 1 | -2/+2 |
| | | | | | | | | - Don't crash when passed an empty string. This translated into an actual core crash, discovered while fuzzing with afl. - Taking a slice of length one out of bytes returns an integer, so the check for trailing period in this function never worked on Python3. - Add unit tests. | ||||
* | minor fixes | Maximilian Hils | 2016-07-19 | 1 | -2/+2 |
| | |||||
* | fix-1366 | Thomas Kriechbaumer | 2016-07-16 | 1 | -3/+2 |
| | |||||
* | Merge pull request #1306 from mitmproxy/message-body-encoding | Maximilian Hils | 2016-07-16 | 7 | -113/+280 |
|\ | | | | | 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 | 13 | -95/+205 |
| |\ | |||||
| * | | improve message content semantics | Maximilian Hils | 2016-07-15 | 3 | -57/+98 |
| | | | |||||
| * | | raise ValueError if content-encoding is invalid | Maximilian Hils | 2016-07-04 | 3 | -17/+43 |
| | | | |||||
| * | | 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 | 5 | -100/+202 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Convert examples and example tests for new-style scripts | Aldo Cortesi | 2016-07-14 | 1 | -0/+7 |
| | | | | | | | | | | Remove the test that just loads all the example scripts for now - it's a very low-value test, and we need to think of something better. | ||||
* | | fix sysinfo for py3 | Thomas Kriechbaumer | 2016-07-10 | 1 | -1/+1 |
| | | |||||
* | | 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 |
| | | |||||
* | | Make escape_control_characters handle strings on Py2 | Shadab Zafar | 2016-07-09 | 1 | -2/+2 |
| | | |||||
* | | strutils.hexdump returns native_strings | Shadab Zafar | 2016-07-09 | 1 | -1/+1 |
| | | |||||
* | | fix #1314 | Maximilian Hils | 2016-07-08 | 1 | -20/+23 |
| | | |||||
* | | fix tests | Maximilian Hils | 2016-07-07 | 1 | -0/+1 |
| | | |||||
* | | tests++ | Maximilian Hils | 2016-07-07 | 1 | -1/+1 |
| | | |||||
* | | py3++ | Maximilian Hils | 2016-07-07 | 3 | -1/+23 |
| | | |||||
* | | sni is now str, not bytes | Maximilian Hils | 2016-07-06 | 2 | -5/+3 |
| | | |||||
* | | py3++, multidict fixes | Maximilian Hils | 2016-07-06 | 3 | -20/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #1319 from mitmproxy/fix-py27-encoding-issues | Maximilian Hils | 2016-07-06 | 1 | -2/+2 |
|\ \ | | | | | | | Fix pathod log encoding | ||||
| * | | fix pathod log encoding | Maximilian Hils | 2016-07-06 | 1 | -2/+2 |
| | | | |||||
* | | | py3++ | Maximilian Hils | 2016-07-06 | 1 | -16/+9 |
|/ / | |||||
* | | Merge pull request #1315 from mitmproxy/better-unicode-handling | Maximilian Hils | 2016-07-05 | 2 | -29/+53 |
|\ \ | | | | | | | remove clean_bin, clarify unicode handling | ||||
| * | | remove clean_bin, clarify unicode handling | Maximilian Hils | 2016-07-05 | 2 | -29/+53 |
| | | | |||||
* | | | Merge pull request #1297 from dufferzafar/py3-flow-export | Maximilian Hils | 2016-07-05 | 1 | -4/+4 |
|\ \ \ | |/ / |/| | | Python 3 - test_flow_export | ||||
| * | | netlib: condition on PY2 rather than on PY3 | Shadab Zafar | 2016-07-02 | 1 | -4/+4 |
| |/ | | | | | | | Let's just hope PY4 doesn't break this! | ||||
* | | 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 |
|/ | |||||
* | minor fixes | Maximilian Hils | 2016-07-01 | 1 | -1/+1 |
| | |||||
* | fix tcp message handling | Maximilian Hils | 2016-07-01 | 2 | -4/+7 |
| | |||||
* | py3++ | Maximilian Hils | 2016-07-01 | 4 | -17/+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: websockets | Shadab Zafar | 2016-06-15 | 1 | -2/+2 |
| | |||||
* | Py3: fix http2 bytes issue | Shadab Zafar | 2016-06-15 | 1 | -2/+2 |
| |