1. 15 Aug, 2018 2 commits
    • 's avatar
      Add Unit Test for CookieJar · 6b8cdfa3
      authored
      Adds a unit test in "tests/cookie_test.cc" for "CookieJar.addFromRaw".
      Additionally, "CookieJar.addFromRaw" now skips all whitespace between cookies.
      Not sure what the HTTP standard requires, but this seems to be the safest bet
      in the case of no whitespace or multiple whitespace delimiting cookies.
      6b8cdfa3
    • 's avatar
      Fix Request Cookies When Receiving Multiple · befdba10
      authored
      Previously, when parsing the "Cookie" header for an HTTP request, the header
      was parsed as if it was the "Set-Cookie" header of an HTTP response. As a
      result, the CookieJar object of a Request object would never contain more than
      a single cookie, with any additional cookies being stored in Cookie.ext of the
      first cookie. This commit fixes this issue by implementing a
      CookieJar.addFromRaw method which adds multiple Cookies to a CookieJar from a
      string. HeadersStep::apply now uses CookieJar.addFromRaw instead of
      Cookie::fromRaw.
      befdba10
  2. 14 Aug, 2018 2 commits
  3. 09 Aug, 2018 13 commits
  4. 02 Aug, 2018 1 commit
  5. 01 Aug, 2018 3 commits
  6. 31 Jul, 2018 1 commit
  7. 28 Jul, 2018 15 commits
  8. 27 Jul, 2018 3 commits