aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/cookies.py
Commit message (Collapse)AuthorAgeFilesLines
* parse_set_cookie header returns an empty list if no cookies are foundAldo Cortesi2016-09-281-9/+4
| | | | This matches parse_cookie, and is more idiomatic.
* Clarify that 'expires' values MUST have a comma nowShadab Zafar2016-09-271-1/+4
|
* Modify format_set_cookie_header to take cookie listShadab Zafar2016-09-271-14/+23
| | | | and return a comma separated string of cookies
* Fixup an error with indicesShadab Zafar2016-09-271-1/+1
|
* Refactor functionsShadab Zafar2016-09-271-35/+26
|
* Add a new pairs reader for SetCookie headersShadab Zafar2016-09-271-3/+15
|
* Rename _read_pairs to _read_cookie_pairsShadab Zafar2016-09-271-3/+22
| | | | We will have a separate _read_set_cookie_pairs
* Rename _read_token to _read_keyShadab Zafar2016-09-271-8/+8
| | | | Since we also have a _read_value
* Move CookieAttrs and SetCookie to topShadab Zafar2016-09-271-18/+14
|
* Minor refactorShadab Zafar2016-09-271-2/+3
|
* Add support for comma separated cookiesShadab Zafar2016-09-271-30/+51
|
* Simplify cookies.is_expiredShadab Zafar2016-08-151-16/+7
|
* Add a function to get cookie expiration timeShadab Zafar2016-08-151-0/+26
|
* Add method to group pairs by cookiesShadab Zafar2016-08-151-0/+31
|
* Test cookies.is_expired separatelyShadab Zafar2016-07-101-4/+9
|
* Move cookie expiry detection to separate functionShadab Zafar2016-07-091-1/+23
|
* Reorganise netlib imports according to Google Style GuideAldo Cortesi2016-06-011-6/+6
|
* netlib: fix most flake8 offensesThomas Kriechbaumer2016-05-281-0/+1
|
* cleanup imports with flake8Thomas Kriechbaumer2016-05-281-1/+0
|
* tests++Maximilian Hils2016-05-201-2/+2
|
* improve MultiDict, add ImmutableMultiDict, adjust response.cookiesMaximilian Hils2016-05-181-7/+36
|
* add MultiDictMaximilian Hils2016-05-181-6/+11
| | | | | | | | 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.
* replace SimpleCookie with our own parser libThomas Kriechbaumer2016-05-111-1/+1
|
* improve cookie parsingThomas Kriechbaumer2016-05-101-19/+20
| | | | | allows '/' to be within a cookie name removes deprecated cookie getter/setter fixes #1118
* move HTTPResponse.refresh into netlibMaximilian Hils2016-04-021-0/+34
|
* combine projectsMaximilian Hils2016-02-181-0/+193