Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.19 KB

File metadata and controls

17 lines (13 loc) · 1.19 KB

Go Reference

This package provides public version of net/http/cookiejar package from go 1.17.2 with all helper methods and storage interface publicly exported.

It aims to provide both pluggable storage for cookiejar implementations using this cookie jar and all required helpers to implement own http.CookieJar from scratch according to RFC 6265, including punycode hostname normalization.

By default, it uses same in-memory storage as original package, however when provided explicitly, it is possible to leverage additional methods of in-memory storage to implement simple external saving/loading and clearing of in-memory storage;

see