spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

cookiejar


simple persistent cookiejar system

spm install cookiejar
Versions 2.0.1
Updated 10 years ago
Homepage https://github.com/bmeck/node-cookiejar
Repository https://github.com/bmeck/node-cookiejar.git
Dependents superagent
Main cookiejar.js
Owner

CookieJar

Simple robust cookie library

Exports

CookieAccessInfo(domain,path,secure,script)

class to determine matching qualities of a cookie
Properties
turns input into a Cookie (singleton if given a Cookie)
the `request_domain` argument is used to default the domain if it is not explicit in the cookie string 
the `request_path` argument is used to set the path if it is not explicit in a cookie String.

explicit domains/paths will cascade, implied domains/paths must *exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat)
Properties
Methods

CookieJar()

class to hold numerous cookies from multiple domains correctly
Methods