Skip to content

Commit 4ab711d

Browse files
authored
Merge branch 'master' into feat-add-badges
2 parents 82c8d95 + 08f35dc commit 4ab711d

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"url": "https://github.com/bmeck/node-cookiejar.git"
2020
},
2121
"devDependencies": {
22-
"jshint": "^2.8.0"
22+
"jshint": "^2.9.4"
2323
}
2424
}

readme.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Simple robust cookie library
99

1010
### CookieAccessInfo(domain,path,secure,script)
1111

12-
class to determine matching qualities of a cookie
12+
class to determine matching qualities of a cookie
1313

1414
##### Properties
1515

@@ -21,11 +21,11 @@ Simple robust cookie library
2121

2222
### Cookie(cookiestr_or_cookie, request_domain, request_path)
2323

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.
2727

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).
2929

3030
##### Properties
3131

@@ -41,20 +41,20 @@ Simple robust cookie library
4141

4242
##### Methods
4343

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)
4949

5050

5151
### CookieJar()
5252

53-
class to hold numerous cookies from multiple domains correctly
53+
class to hold numerous cookies from multiple domains correctly
5454

5555
##### Methods
5656

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

Comments
 (0)