Skip to content
Commits on Feb 23, 2012
Commits on Feb 21, 2012
  1. Default cookie expiration should be in the future

    In the current implementation, a cookie on a response gets a default
    expiration time when put into a CookieJar defined by this code snippet:
    
        getExpiryTime Nothing Nothing= UTCTime (ModifiedJulianDay 0) (secondsToDiffTime 0)
    
    This results in a default expiration time of 1858-11-17T00:00Z - which
    is in the past.  As a result, this cookie will be excluded from any
    requests that are made with the same CookieJar attached.
    
    The default expiration time should be in the future, so that cookies
    that do not specify an expiration time or a max age are included in
    future requests.  RFC 6265 specifies that when no expiration time or max
    age is given, "Set the cookie's expiry-time to the latest representable
    date."  The UTCTime type uses an Integer to represent the date, meaning
    that there is no latest representable date.  So we have to pick an
    arbitrary date in the future for default expiration times.
    
    This commit changes the default expiration time logic to assign a date
    that is approximately 1000 years in the future:
    
        getExpiryTime Nothing Nothing = UTCTime (365000 `addDays` utctDay now) (secondsToDiffTime 0)
    
    Running this on 2012-02-21 results in the time 3011-6-24T00:00Z.
    committed Feb 21, 2012
  2. Do not strip "set-cookie" headers from responses

    Fixes a bug that was introduced in commit 99d7356 that causes all
    "set-cookie" headers to be removed from responses unless `redirectCount`
    is set to zero.
    committed with Feb 21, 2012
Commits on Feb 19, 2012
  1. @snoyberg
Commits on Feb 10, 2012
  1. @snoyberg

    Merge pull request #17 from erikd/master

    Remove extraneous 'https://host:port' from HTTPS requests via a proxy.
    snoyberg committed Feb 9, 2012
  2. @snoyberg
  3. @erikd
Commits on Feb 9, 2012
  1. @snoyberg
  2. @snoyberg
  3. @snoyberg
  4. @snoyberg

    Merge pull request #16 from litherum/master

    Browser module
    snoyberg committed Feb 8, 2012
  5. Fixing cookietest

    Myles C. Maxfield committed Feb 8, 2012
  6. Browser module

    Myles C. Maxfield committed Feb 8, 2012
Commits on Feb 8, 2012
  1. @snoyberg

    tls update

    snoyberg committed Feb 8, 2012
Commits on Feb 7, 2012
  1. @snoyberg

    Check handshake result

    snoyberg committed Feb 7, 2012
  2. @snoyberg

    Merge pull request #14 from litherum/master

    Hiding CookieJar type
    snoyberg committed Feb 6, 2012
Commits on Feb 6, 2012
  1. Hiding CookieJar type

    Myles C. Maxfield committed Feb 6, 2012
  2. @snoyberg

    Move CookieTest to hspec

    snoyberg committed Feb 6, 2012
  3. @snoyberg
Commits on Feb 5, 2012
  1. @litherum

    Updated cookie documentation

    litherum committed Feb 5, 2012
  2. @litherum

    Renaming cookie attributes to export Cookie datatype without collisio…

    …ns, and cleaning up generated haddock documentation
    litherum committed Feb 5, 2012
  3. @litherum
Commits on Feb 3, 2012
  1. @snoyberg

    Version bump

    snoyberg committed Feb 3, 2012
  2. @snoyberg

    Revert "Remove weird socksProxy"

    This reverts commit ca5a272.
    snoyberg committed Feb 3, 2012
Commits on Feb 2, 2012
  1. @snoyberg

    Version bump

    snoyberg committed Feb 2, 2012
  2. @akaspin

    Remove weird socksProxy

    Signed-off-by: Alexander Dorofeev <aka.spin@gmail.com>
    akaspin committed Feb 2, 2012
Commits on Jan 29, 2012
  1. @snoyberg

    Fix a warning

    snoyberg committed Jan 29, 2012
  2. @snoyberg

    getRedirectRequest

    snoyberg committed Jan 29, 2012
  3. @snoyberg

    Merge pull request #10 from vincenthz/master

    add socks5 support
    snoyberg committed Jan 28, 2012
Commits on Jan 28, 2012
  1. @snoyberg

    conduit 0.2

    snoyberg committed Jan 28, 2012
  2. @vincenthz
  3. @vincenthz

    [SOCKS] modify each socket creation method to handle an optional sock…

    …s proxy configuration.
    vincenthz committed Jan 28, 2012
  4. @vincenthz
Commits on Jan 18, 2012
  1. @snoyberg
Something went wrong with that request. Please try again.