about summary refs log tree commit diff stats
path: root/test/net/cookie.http
Commit message (Collapse)AuthorAgeFilesLines
* cookie: do not match port in Domainbptato2025-05-021-1/+3
| | | | That's how cookies *should have* worked, not how they actually work.
* loader: support Set-Cookie for non-initial requestsbptato2025-04-051-1/+3
| | | | | | | | | For compatibility with mainstream browsers. e.g. this should allow log-ins through ajax. To synchronize the loader's cookie jar with that of the pager, we open a stream (about:cookie-stream) to pass over serialized cookies when required.
* cookie: improve Expires parsingbptato2025-01-131-1/+3
|
* cookie: add persistent cookies, misc refactoring/fixesbptato2024-12-291-0/+20
Mostly compatible with other browsers/tools that follow the Netscape/curl format. Cookie jars are represented by prepending "jar@" to the host part, but *only* if the target jar is different than the domain. Hopefully, other software at least does not choke on this convention. (At least curl seems to simply ignore the entries.) Also, I've moved cookies.nim to config so that code for local files parsed at startup remains in one place.