Skip to content

Commit 08f35dc

Browse files
authored
Merge pull request #31 from Edmeral/fix-readme-formatting
Fixing paragraph formatting
2 parents 072b490 + 05558ec commit 08f35dc

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

readme.md

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

77
### CookieAccessInfo(domain,path,secure,script)
88

9-
class to determine matching qualities of a cookie
9+
class to determine matching qualities of a cookie
1010

1111
##### Properties
1212

@@ -18,11 +18,11 @@ Simple robust cookie library
1818

1919
### Cookie(cookiestr_or_cookie, request_domain, request_path)
2020

21-
turns input into a Cookie (singleton if given a Cookie)
22-
the `request_domain` argument is used to default the domain if it is not explicit in the cookie string
23-
the `request_path` argument is used to set the path if it is not explicit in a cookie String.
21+
It turns input into a Cookie (singleton if given a Cookie),
22+
the `request_domain` argument is used to default the domain if it is not explicit in the cookie string,
23+
the `request_path` argument is used to set the path if it is not explicit in a cookie String.
2424

25-
explicit domains/paths will cascade, implied domains/paths must *exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat)
25+
Explicit domains/paths will cascade, implied domains/paths must *exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat).
2626

2727
##### Properties
2828

@@ -38,20 +38,20 @@ Simple robust cookie library
3838

3939
##### Methods
4040

41-
* String toString() - the __set-cookie:__ string for this cookie
42-
* String toValueString() - the __cookie:__ string for this cookie
43-
* Cookie parse(cookiestr, request_domain, request_path) - parses the string onto this cookie or a new one if called directly
44-
* Boolean matches(access_info) - returns true if the access_info allows retrieval of this cookie
45-
* Boolean collidesWith(cookie) - returns true if the cookies cannot exist in the same space (domain and path match)
41+
* `String toString()` - the __set-cookie:__ string for this cookie
42+
* `String toValueString()` - the __cookie:__ string for this cookie
43+
* `Cookie parse(cookiestr, request_domain, request_path)` - parses the string onto this cookie or a new one if called directly
44+
* `Boolean matches(access_info)` - returns true if the access_info allows retrieval of this cookie
45+
* `Boolean collidesWith(cookie)` - returns true if the cookies cannot exist in the same space (domain and path match)
4646

4747

4848
### CookieJar()
4949

50-
class to hold numerous cookies from multiple domains correctly
50+
class to hold numerous cookies from multiple domains correctly
5151

5252
##### Methods
5353

54-
* Cookie setCookie(cookie, request_domain, request_path) - modify (or add if not already-existing) a cookie to the jar
55-
* Cookie[] setCookies(cookiestr_or_list, request_domain, request_path) - modify (or add if not already-existing) a large number of cookies to the jar
56-
* Cookie getCookie(cookie_name,access_info) - get a cookie with the name and access_info matching
57-
* Cookie[] getCookies(access_info) - grab all cookies matching this access_info
54+
* `Cookie setCookie(cookie, request_domain, request_path)` - modify (or add if not already-existing) a cookie to the jar
55+
* `Cookie[] setCookies(cookiestr_or_list, request_domain, request_path)` - modify (or add if not already-existing) a large number of cookies to the jar
56+
* `Cookie getCookie(cookie_name,access_info)` - get a cookie with the name and access_info matching
57+
* `Cookie[] getCookies(access_info)` - grab all cookies matching this access_info

0 commit comments

Comments
 (0)