sdk/golang/Standard Library/GoNetHttpCookiejar
Standard Library

GoNetHttpCookiejar

Go stdlib package — net/http/cookiejar. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Jar.Cookies()Neutral
#
Signature
Jar.Cookies(u *url.URL) []*http.Cookie

Cookies implements the Cookies method of the http.CookieJar interface.

.Jar.SetCookies()Neutral
#
Signature
Jar.SetCookies(u *url.URL, cookies []*http.Cookie)

SetCookies implements the SetCookies method of the http.CookieJar interface.

.New()Neutral
#
Signature
New(o *Options) (*Jar, error)

New returns a new cookie jar. A nil *Options is equivalent to a zero

.Jar()Neutral
#
Signature
type Jar ...

Jar implements the http.CookieJar interface from the net/http package.

.Options()Neutral
#
Signature
type Options ...

Options are the options for creating a new Jar.

.PublicSuffixList()Neutral
#
Signature
type PublicSuffixList ...

PublicSuffixList provides the public suffix of a domain. For example:

Fully-Qualified Names

FQNField
net/http/cookiejarfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # net/http/cookiejar