Permalink
Commits on Jan 9, 2017
  1. Support for defining HTTP proxy via the $HTTP_PROXY (etc) env-var (#307)

    * Add support for reading HTTP proxy information from *_PROXY env-vars
    * Support clearing the *_PROXY env-vars during test runs
    * Tests for when using *_PROXY env-vars
    * Deal gracefully with invalid URLs in the $*_PROXY env-vars
    
    - My spec_helper.rb before/after rules aren't clearing the *_PROXY
      env-vars correctly, so explicitly clear them before each example group.
    - Because the the scheme of the test URL wasn't being updated, it was
      only using the $HTTP_PROXY / $http_proxy vars
    - It seems the test server (Mongrel) isn't set-up to handle HTTPS, so
      have disabled those tests, for now.
    mexisme committed with Jan 9, 2017
Commits on Jan 7, 2017
  1. Merge pull request #308 from mexisme/bugfix/dns-spec-bad-matcher

    Fix incorrect matcher in DNS spec/test
    committed on GitHub Jan 7, 2017
Commits on Jul 1, 2016
  1. bump to 1.1.5

    committed Jul 1, 2016
Commits on Jun 30, 2016
  1. Merge pull request #301 from geckoboard/bugfix-284

    Prevent data corruption when decoding gzip stream, fixes #284
    committed on GitHub Jun 30, 2016
  2. Prevent data corruption when decoding gzip stream, fixes #284

    This fixes an issue where a gzip stream chunked into smaller pieces
    would result in a buffer overrun when decoding the headers.
    
    Previously the position where the headers end in `compressed` was
    determined by the delta of `@pos` before and after reading the
    headers. This didn't take into account the fact that `@data` may already
    contain data, but not enough to have advanced `@pos` on previous
    iterations.
    boxofrad committed Jun 30, 2016
Commits on Jun 6, 2016
  1. bump to 1.1.4

    committed Jun 6, 2016
Commits on May 10, 2016
  1. Merge pull request #295 from tsukasaoishi/cookiejar_lock

    cookiejar is correct except for ver 0.3.1.
    committed May 10, 2016
Commits on May 7, 2016
  1. Merge pull request #296 from pusher/fix-basic-auth-and-proxy

    Fix basic auth and proxy
    committed May 7, 2016
Commits on Apr 24, 2016
  1. Merge pull request #297 from sukeerthiadiga/readme-update

    Update README.md
    committed Apr 24, 2016
  2. Update README.md

    Screencast url updated. 404 was rendered.
    sukeerthiadiga committed Apr 24, 2016
Commits on Apr 23, 2016
Commits on Apr 21, 2016
  1. Don't pass userinfo through to proxies in path position

    When requesting via an HTTP proxy, we put the entire URI in the position
    where usually the path and query string is expected. However, if the
    original URI included a basic auth section, we must not include it, but
    rather convert it to an Authorization header.
    mdpye committed Apr 20, 2016
  2. Add test for basicauth+proxy case

    mdpye committed Apr 20, 2016
  3. Fix unused variable warnings

    mdpye committed Apr 20, 2016
Commits on Mar 7, 2016
Commits on Feb 12, 2016
  1. default to requesting compressed response

    This behavior can be disabled via :compressed => false when initializing
    the request.
    
    Closes #270.
    committed Feb 12, 2016
Commits on Dec 20, 2015
  1. add travis badge

    committed Dec 20, 2015
  2. add travis build file

    committed Dec 20, 2015
  3. bump version to 1.1.3

    committed Dec 20, 2015
Commits on Oct 20, 2015
Commits on Sep 28, 2015
  1. Merge pull request #291 from shaicoleman/exceptions_from_standarderror

    Rescue from StandardError instead of Exception
    committed Sep 28, 2015
Commits on Aug 20, 2015
  1. handle redirects on keep-alive connections

    - open new connection for cross-origin redirects
    - dispatch redirect over same connection for same-origin redirects
    committed Aug 20, 2015
Commits on Aug 10, 2015
Commits on Aug 4, 2015
  1. resolve rspec warning

    soylent committed Aug 4, 2015
Commits on Jun 29, 2015
  1. cleaned up warnings

    mikerodrigues committed Jun 29, 2015
Commits on Jun 9, 2015
Commits on Mar 26, 2015
  1. Merge pull request #283 from wtcross/master

    Use Base64.strict_encode64 instead of Base64.encode64.
    committed Mar 26, 2015
  2. Use Base64.strict_encode64 to not add line feeds.

    - Base64.encode64 adds line feeds every 60 encoded characters
    - Base64.strict_encode64 does not insert line feeds, so use it
    wtcross committed Mar 26, 2015
Commits on Feb 27, 2015
  1. Merge pull request #282 from psschroeter/fix-connect-proxy-headers

    Don't modify header for CONNECT style proxies.
    committed Feb 27, 2015