aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib
Commit message (Collapse)AuthorAgeFilesLines
* parse_set_cookie header returns an empty list if no cookies are foundAldo Cortesi2016-09-281-3/+3
| | | | This matches parse_cookie, and is more idiomatic.
* Add tests for comma separated Set-CookiesShadab Zafar2016-09-271-10/+47
|
* Make needed changes in testsShadab Zafar2016-09-271-30/+33
|
* Update cookie testsShadab Zafar2016-09-271-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-1554Maximilian Hils2016-09-211-0/+5
|\ | | | | Fix Response.make content-length header
| * fix Response.make content-length headerMaximilian Hils2016-09-211-0/+5
| |
* | raise TypeError on invalid header assignment, fix #1562Maximilian Hils2016-09-212-0/+11
|/
* Make 'none' synonymous to 'identity'Schamper2016-09-061-8/+7
|
* Add testSchamper2016-09-061-0/+5
|
* change test valueThomas Kriechbaumer2016-09-041-1/+1
|
* improve netlib.encodingThomas Kriechbaumer2016-09-041-31/+18
|
* websockets: refactor implementation and add testsThomas Kriechbaumer2016-09-014-269/+292
|
* Lint fix - minorarjun234962016-08-311-1/+1
|
* Lint fix - replace testsarjun234962016-08-313-6/+9
|
* Added tests for replace in request,message,headerarjun234962016-08-313-1/+23
|
* fixing lint errorManish Kumar2016-08-261-0/+1
|
* fixed : Divide by zero error came when string was empty, also a testManish Kumar2016-08-261-1/+1
|
* allow test classes to dynamically specify ssl contextThomas Kriechbaumer2016-08-241-1/+2
|
* introduce Response.make for simple response creationMaximilian Hils2016-08-231-0/+20
|
* Use test times less than 2038Shadab Zafar2016-08-151-3/+3
| | | | So that tests pass on 32bit systems too
* Assert cookie groups explicitly rather than just the lengthShadab Zafar2016-08-151-16/+40
|
* Add some cookie formatting related testsShadab Zafar2016-08-151-3/+3
|
* Add a function to get cookie expiration timeShadab Zafar2016-08-151-0/+20
|
* Add method to group pairs by cookiesShadab Zafar2016-08-151-0/+20
|
* Merge pull request #1447 from mitmproxy/secure-by-defaultAldo Cortesi2016-08-011-6/+6
|\ | | | | Verify upstream certificates by default
| * improve invalid certificate uxMaximilian Hils2016-07-271-6/+6
| |
* | Merge pull request #1449 from mhils/fix-1448Maximilian Hils2016-07-301-1/+4
|\ \ | | | | | | Add escape_single_quotes=False arg to bytes_to_escaped_str
| * | add escape_single_quotes=False arg to bytes_to_escaped_strMaximilian Hils2016-07-291-1/+4
| |/
* / Integrated encode/decoder for brotliAngelo Agatino Nicolosi2016-07-301-0/+12
|/
* add quote/unquote testsMaximilian Hils2016-07-241-2/+42
|
* remove content caching in netlib.http.MessageMaximilian Hils2016-07-231-33/+0
|
* add tests for single-element cacheMaximilian Hils2016-07-231-0/+30
|
* fix content view cache invalidationMaximilian Hils2016-07-212-5/+13
|
* console: share one ActionBar instanceAldo Cortesi2016-07-211-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_hostAldo Cortesi2016-07-212-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-1366Thomas Kriechbaumer2016-07-161-4/+22
|
* preserve content-type parameter orderMaximilian Hils2016-07-151-1/+3
|
* Merge remote-tracking branch 'origin/master' into message-body-encodingMaximilian Hils2016-07-157-50/+92
|\
| * Test cookies.is_expired separatelyShadab Zafar2016-07-101-0/+21
| |
| * Make escape_control_characters handle strings on Py2Shadab Zafar2016-07-091-2/+3
| |
| * tests++Maximilian Hils2016-07-071-0/+15
| |
| * py3++Maximilian Hils2016-07-072-3/+3
| |
| * py3++Maximilian Hils2016-07-071-4/+4
| |
| * sni is now str, not bytesMaximilian Hils2016-07-061-13/+13
| |
| * py3++Maximilian Hils2016-07-061-11/+4
| |
| * remove clean_bin, clarify unicode handlingMaximilian Hils2016-07-051-15/+25
| |
| * http2: test throttling at MAX_CONCURRENT_STREAMSThomas Kriechbaumer2016-07-051-5/+7
| |
* | improve message content semanticsMaximilian Hils2016-07-152-13/+73
| |
* | raise ValueError if content-encoding is invalidMaximilian Hils2016-07-041-8/+10
| |
* | tests++Maximilian Hils2016-07-021-1/+43
| |