fasthttp
fasthttp copied to clipboard
Cookiejar implementation.
Hello,
This commit tries to implement a basic CookieJar structure to handle Cookies easily without using external packages.
I think if we're going to add a CookieJar we should do it right and follow the spec. So:
- Which cookies are returned should be based on the path as well.
- Cookies should expire based on their expire time
- You can't set cookies for TLDs (for this you need a public suffix list, I suggest making this optional)
Any progress?
bump