mirror of
https://github.com/aria2/aria2.git
synced 2025-01-01 15:44:55 +00:00
8b17d4b276
Rewritten Cookie class and Cookie parser based on http://tools.ietf.org/html/draft-ietf-httpstate-cookie-14 with some modifications. When parsing cookie date, match time first so that it parses asctime() format. The request-path must be ends with '/' so that request-path '/foo/' path-matches cookie-path '/foo' and '/foo/' in the proposed algorithm. * src/Cookie.cc * src/Cookie.h * src/CookieParser.cc: Removed * src/CookieParser.h: Removed * src/CookieStorage.cc * src/CookieStorage.h * src/HttpResponse.cc * src/Makefile.am * src/Makefile.in * src/MultiUrlRequestInfo.cc * src/NsCookieParser.cc * src/NsCookieParser.h * src/Sqlite3CookieParser.cc * src/Sqlite3CookieParser.h * src/a2functional.h * src/cookie_helper.cc * src/cookie_helper.h * src/util.cc * src/util.h * test/CookieBoxFactoryTest.cc: Removed * test/CookieHelperTest.cc * test/CookieParserTest.cc: Removed * test/CookieStorageTest.cc * test/CookieTest.cc * test/HttpRequestTest.cc * test/Makefile.am * test/Makefile.in * test/NsCookieParserTest.cc * test/Sqlite3CookieParserTest.cc * test/TestUtil.cc * test/TestUtil.h * test/a2functionalTest.cc * test/chromium_cookies.sqlite * test/cookies.sqlite * test/nscookietest.txt
10 lines
278 B
Plaintext
10 lines
278 B
Plaintext
# name=this is a omment line;
|
|
localhost FALSE / TRUE 2147483647 JSESSIONID 123456789
|
|
|
|
expired FALSE / FALSE 1000 user me
|
|
|
|
192.168.0.1 TRUE /cgi-bin FALSE 0 passwd secret
|
|
badformat
|
|
overflow FALSE / FALSE 9223372036854775807 TAX 1000
|
|
.example.org TRUE / FALSE 2147483647 novalue
|