Registry / networking / http-cookie

http-cookie

JSON →
library1.1.6rbrubygemsunverified

A Ruby library to handle HTTP Cookies based on RFC 6265 with security and standards compliance.

gem install http-cookie
INSTALL
IMPORT
SIG · HTTP-COOKIE
H
http-cookie
networkingrubyv1.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HTTP
require 'http-cookie'

Parse a Set-Cookie header and retrieve cookies for a URL.

require 'http-cookie' jar = HTTP::CookieJar.new jar.parse('session_id=abc123; Domain=example.com; Path=/', 'http://example.com') cookie = jar.cookies('http://example.com').first puts cookie.name # => session_id
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.6latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
http-cookie — gem install http-cookie · libregistry