@@ -9,7 +9,7 @@ Simple robust cookie library
9
9
10
10
### CookieAccessInfo(domain,path,secure,script)
11
11
12
- class to determine matching qualities of a cookie
12
+ class to determine matching qualities of a cookie
13
13
14
14
##### Properties
15
15
@@ -21,11 +21,11 @@ Simple robust cookie library
21
21
22
22
### Cookie(cookiestr_or_cookie, request_domain, request_path)
23
23
24
- turns input into a Cookie (singleton if given a Cookie)
25
- the `request_domain` argument is used to default the domain if it is not explicit in the cookie string
26
- the `request_path` argument is used to set the path if it is not explicit in a cookie String.
24
+ It turns input into a Cookie (singleton if given a Cookie),
25
+ the ` request_domain ` argument is used to default the domain if it is not explicit in the cookie string,
26
+ the ` request_path ` argument is used to set the path if it is not explicit in a cookie String.
27
27
28
- explicit domains/paths will cascade, implied domains/paths must *exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat)
28
+ Explicit domains/paths will cascade, implied domains/paths must * exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat ).
29
29
30
30
##### Properties
31
31
@@ -41,20 +41,20 @@ Simple robust cookie library
41
41
42
42
##### Methods
43
43
44
- * String toString() - the __ set-cookie:__ string for this cookie
45
- * String toValueString() - the __ cookie:__ string for this cookie
46
- * Cookie parse(cookiestr, request_domain, request_path) - parses the string onto this cookie or a new one if called directly
47
- * Boolean matches(access_info) - returns true if the access_info allows retrieval of this cookie
48
- * Boolean collidesWith(cookie) - returns true if the cookies cannot exist in the same space (domain and path match)
44
+ * ` String toString() ` - the __ set-cookie:__ string for this cookie
45
+ * ` String toValueString() ` - the __ cookie:__ string for this cookie
46
+ * ` Cookie parse(cookiestr, request_domain, request_path) ` - parses the string onto this cookie or a new one if called directly
47
+ * ` Boolean matches(access_info) ` - returns true if the access_info allows retrieval of this cookie
48
+ * ` Boolean collidesWith(cookie) ` - returns true if the cookies cannot exist in the same space (domain and path match)
49
49
50
50
51
51
### CookieJar()
52
52
53
- class to hold numerous cookies from multiple domains correctly
53
+ class to hold numerous cookies from multiple domains correctly
54
54
55
55
##### Methods
56
56
57
- * Cookie setCookie(cookie, request_domain, request_path) - modify (or add if not already-existing) a cookie to the jar
58
- * Cookie[ ] setCookies(cookiestr_or_list, request_domain, request_path) - modify (or add if not already-existing) a large number of cookies to the jar
59
- * Cookie getCookie(cookie_name,access_info) - get a cookie with the name and access_info matching
60
- * Cookie[ ] getCookies(access_info) - grab all cookies matching this access_info
57
+ * ` Cookie setCookie(cookie, request_domain, request_path) ` - modify (or add if not already-existing) a cookie to the jar
58
+ * ` Cookie[] setCookies(cookiestr_or_list, request_domain, request_path) ` - modify (or add if not already-existing) a large number of cookies to the jar
59
+ * ` Cookie getCookie(cookie_name,access_info) ` - get a cookie with the name and access_info matching
60
+ * ` Cookie[] getCookies(access_info) ` - grab all cookies matching this access_info
0 commit comments