Permalink
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
Commits on Feb 10, 2012
  1. Merge pull request #17 from erikd/master

    Remove extraneous 'https://host:port' from HTTPS requests via a proxy.
    snoyberg committed Feb 10, 2012
Commits on Feb 9, 2012
  1. Merge pull request #16 from litherum/master

    Browser module
    snoyberg committed Feb 9, 2012
  2. Fixing cookietest

    Myles C. Maxfield committed Feb 9, 2012
  3. Browser module

    Myles C. Maxfield committed Feb 9, 2012
Commits on Feb 8, 2012
  1. tls update

    snoyberg committed Feb 8, 2012
Commits on Feb 7, 2012
  1. Check handshake result

    snoyberg committed Feb 7, 2012
  2. Merge pull request #14 from litherum/master

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

    Myles C. Maxfield committed Feb 6, 2012
  2. Move CookieTest to hspec

    snoyberg committed Feb 6, 2012
Commits on Feb 5, 2012
  1. Updated cookie documentation

    Myles C. Maxfield committed Feb 5, 2012
  2. Renaming cookie attributes to export Cookie datatype without collisio…

    …ns, and cleaning up generated haddock documentation
    Myles C. Maxfield committed Feb 5, 2012
  3. Cookies persist across redirects

    Myles C. Maxfield committed Feb 5, 2012
Commits on Feb 3, 2012
  1. Version bump

    snoyberg committed Feb 3, 2012
  2. Revert "Remove weird socksProxy"

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

    snoyberg committed Feb 2, 2012
  2. Remove weird socksProxy

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

    snoyberg committed Jan 29, 2012
  2. getRedirectRequest

    snoyberg committed Jan 29, 2012
  3. Merge pull request #10 from vincenthz/master

    add socks5 support
    snoyberg committed Jan 29, 2012
Commits on Jan 28, 2012
  1. conduit 0.2

    snoyberg committed Jan 28, 2012
  2. [SOCKS] modify each socket creation method to handle an optional sock…

    …s proxy configuration.
    vincenthz committed Jan 28, 2012
Commits on Jan 18, 2012