- Simply replace
\
to/
rather than usingUri
when parsing a storage base directory.
- Allow to configure whether to delete host cookies when load failed.
- Fix directory parsing for the file storage.
- Add
WebCookieJar
to convenient Web usages instead of throwing exceptions.
- Fixed problem with returning false if cookiePath end with '/'.
- Export
Cookie
fromuniversal_io
.
- Fix runtime type cast exception.
- Use
universal_io
to handle imports. This also bumps the minimum required SDK version to2.15.0
.
- Clean codes and update documents.
- Support to compile on Web.
- Preserve all cookies that with same name but in different paths when request (as Chrome acts).
For example, in request header:
Cookie: a=1; a=2; a=3
. Note: Cookies with same name will be sorted by path (longer path first) when return (List<Cookie>
thatloadForRequest
returned). - Fix path and domain match error (#30)
- Fix #31: Use the "directory" of request-uri as default path if there is no 'Path' component in Set-Cookie line (in 3.x, used root '/', it is not standard).
- refactor
- Change all APIs to async
- Add
delete
、deleteAll
APIs in CookieJar class. - Support custom cookie persistent storage。
- support nullsafety
- add
forceInit
method for PersistCookieJar - handle cookie name conflicts
- Initial version, created by Stagehand