aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib/http/test_cookies.py
Commit message (Collapse)AuthorAgeFilesLines
* The final piece: netlib -> mitproxy.netAldo Cortesi2016-10-201-365/+0
|
* netlib.tutils -> mitmproxy.test.tutilsAldo Cortesi2016-10-201-1/+1
| | | | There's a LOT more to be done refactoring our different conflicting test utils.
* 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.
* 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
|
* Test cookies.is_expired separatelyShadab Zafar2016-07-101-0/+21
|
* more style cleanupThomas Kriechbaumer2016-05-291-1/+1
|
* improve MultiDict, add ImmutableMultiDict, adjust response.cookiesMaximilian Hils2016-05-181-5/+9
|
* add MultiDictMaximilian Hils2016-05-181-2/+2
| | | | | | | | This commit introduces MultiDict, a multi-dictionary similar to ODict, but with improved semantics (as in the Headers class). MultiDict fixes a few issues that were present in the Request/Response API. In particular, `request.cookies["foo"] = "bar"` has previously been a no-op, as the cookies property returned a mutable _copy_ of the cookies.
* improve cookie parsingThomas Kriechbaumer2016-05-101-2/+11
| | | | | allows '/' to be within a cookie name removes deprecated cookie getter/setter fixes #1118
* move HTTPResponse.refresh into netlibMaximilian Hils2016-04-021-0/+16
|
* move tests into shared folderMaximilian Hils2016-02-151-0/+218