Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update cookie tests | Shadab Zafar | 2016-09-27 | 1 | -91/+84 |
| | | | | | This is needed since _read_pairs now returns a list of cookies each of which is a list of [name, value] tuples. | ||||
* | Merge pull request #1564 from mhils/issue-1554 | Maximilian Hils | 2016-09-21 | 1 | -0/+5 |
|\ | | | | | Fix Response.make content-length header | ||||
| * | fix Response.make content-length header | Maximilian Hils | 2016-09-21 | 1 | -0/+5 |
| | | |||||
* | | raise TypeError on invalid header assignment, fix #1562 | Maximilian Hils | 2016-09-21 | 2 | -0/+11 |
|/ | |||||
* | Make 'none' synonymous to 'identity' | Schamper | 2016-09-06 | 1 | -8/+7 |
| | |||||
* | Add test | Schamper | 2016-09-06 | 1 | -0/+5 |
| | |||||
* | change test value | Thomas Kriechbaumer | 2016-09-04 | 1 | -1/+1 |
| | |||||
* | improve netlib.encoding | Thomas Kriechbaumer | 2016-09-04 | 1 | -31/+18 |
| | |||||
* | websockets: refactor implementation and add tests | Thomas Kriechbaumer | 2016-09-01 | 4 | -269/+292 |
| | |||||
* | Lint fix - minor | arjun23496 | 2016-08-31 | 1 | -1/+1 |
| | |||||
* | Lint fix - replace tests | arjun23496 | 2016-08-31 | 3 | -6/+9 |
| | |||||
* | Added tests for replace in request,message,header | arjun23496 | 2016-08-31 | 3 | -1/+23 |
| | |||||
* | fixing lint error | Manish Kumar | 2016-08-26 | 1 | -0/+1 |
| | |||||
* | fixed : Divide by zero error came when string was empty, also a test | Manish Kumar | 2016-08-26 | 1 | -1/+1 |
| | |||||
* | allow test classes to dynamically specify ssl context | Thomas Kriechbaumer | 2016-08-24 | 1 | -1/+2 |
| | |||||
* | introduce Response.make for simple response creation | Maximilian Hils | 2016-08-23 | 1 | -0/+20 |
| | |||||
* | Use test times less than 2038 | Shadab Zafar | 2016-08-15 | 1 | -3/+3 |
| | | | | So that tests pass on 32bit systems too | ||||
* | Assert cookie groups explicitly rather than just the length | Shadab Zafar | 2016-08-15 | 1 | -16/+40 |
| | |||||
* | Add some cookie formatting related tests | Shadab Zafar | 2016-08-15 | 1 | -3/+3 |
| | |||||
* | Add a function to get cookie expiration time | Shadab Zafar | 2016-08-15 | 1 | -0/+20 |
| | |||||
* | Add method to group pairs by cookies | Shadab Zafar | 2016-08-15 | 1 | -0/+20 |
| | |||||
* | Merge pull request #1447 from mitmproxy/secure-by-default | Aldo Cortesi | 2016-08-01 | 1 | -6/+6 |
|\ | | | | | Verify upstream certificates by default | ||||
| * | improve invalid certificate ux | Maximilian Hils | 2016-07-27 | 1 | -6/+6 |
| | | |||||
* | | Merge pull request #1449 from mhils/fix-1448 | Maximilian Hils | 2016-07-30 | 1 | -1/+4 |
|\ \ | | | | | | | Add escape_single_quotes=False arg to bytes_to_escaped_str | ||||
| * | | add escape_single_quotes=False arg to bytes_to_escaped_str | Maximilian Hils | 2016-07-29 | 1 | -1/+4 |
| |/ | |||||
* / | Integrated encode/decoder for brotli | Angelo Agatino Nicolosi | 2016-07-30 | 1 | -0/+12 |
|/ | |||||
* | add quote/unquote tests | Maximilian Hils | 2016-07-24 | 1 | -2/+42 |
| | |||||
* | remove content caching in netlib.http.Message | Maximilian Hils | 2016-07-23 | 1 | -33/+0 |
| | |||||
* | add tests for single-element cache | Maximilian Hils | 2016-07-23 | 1 | -0/+30 |
| | |||||
* | fix content view cache invalidation | Maximilian Hils | 2016-07-21 | 2 | -5/+13 |
| | |||||
* | console: share one ActionBar instance | Aldo Cortesi | 2016-07-21 | 1 | -1/+1 |
| | | | | | This fixes an issues where popping a view off the stack caused stale ActionBar contents to be displayed. | ||||
* | Fix netlib.utils.is_valid_host | Aldo Cortesi | 2016-07-21 | 2 | -0/+16 |
| | | | | | | | | - 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. | ||||
* | fix-1366 | Thomas Kriechbaumer | 2016-07-16 | 1 | -4/+22 |
| | |||||
* | preserve content-type parameter order | Maximilian Hils | 2016-07-15 | 1 | -1/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into message-body-encoding | Maximilian Hils | 2016-07-15 | 7 | -50/+92 |
|\ | |||||
| * | Test cookies.is_expired separately | Shadab Zafar | 2016-07-10 | 1 | -0/+21 |
| | | |||||
| * | Make escape_control_characters handle strings on Py2 | Shadab Zafar | 2016-07-09 | 1 | -2/+3 |
| | | |||||
| * | tests++ | Maximilian Hils | 2016-07-07 | 1 | -0/+15 |
| | | |||||
| * | py3++ | Maximilian Hils | 2016-07-07 | 2 | -3/+3 |
| | | |||||
| * | py3++ | Maximilian Hils | 2016-07-07 | 1 | -4/+4 |
| | | |||||
| * | sni is now str, not bytes | Maximilian Hils | 2016-07-06 | 1 | -13/+13 |
| | | |||||
| * | py3++ | Maximilian Hils | 2016-07-06 | 1 | -11/+4 |
| | | |||||
| * | remove clean_bin, clarify unicode handling | Maximilian Hils | 2016-07-05 | 1 | -15/+25 |
| | | |||||
| * | http2: test throttling at MAX_CONCURRENT_STREAMS | Thomas Kriechbaumer | 2016-07-05 | 1 | -5/+7 |
| | | |||||
* | | improve message content semantics | Maximilian Hils | 2016-07-15 | 2 | -13/+73 |
| | | |||||
* | | raise ValueError if content-encoding is invalid | Maximilian Hils | 2016-07-04 | 1 | -8/+10 |
| | | |||||
* | | tests++ | Maximilian Hils | 2016-07-02 | 1 | -1/+43 |
| | | |||||
* | | message.content -> .raw_content, implement .text | Maximilian Hils | 2016-07-02 | 2 | -52/+105 |
|/ | | | | | | | | | | | | | | | 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. | ||||
* | minor fixes | Maximilian Hils | 2016-07-01 | 1 | -5/+5 |
| | |||||
* | py3++ | Maximilian Hils | 2016-07-01 | 1 | -4/+0 |
| |