Commits on Dec 2, 2015
  1. Merge pull request #450 from linrock/fix-basic-auth-header-leak

    Don't send basic auth header when redirecting to different hosts
    committed Dec 2, 2015
  2. Merge pull request #451 from linrock/fix-spec-typos

    Fix typos in cookie spec descriptions
    committed Dec 2, 2015
Commits on Dec 1, 2015
  1. Assertion is enough to test that error doesn't happen

    If the code to prevent this is removed then an exception will be raised
    which will fail the test.
    committed Dec 1, 2015
  2. Merge pull request #448 from commel/master

    This fixes the nil error and enables to read the reponse again.
    committed Dec 1, 2015
Commits on Nov 30, 2015
  1. @linrock
  2. @linrock
Commits on Nov 26, 2015
  1. @britter-decoit

    Test added for issue #447

    britter-decoit committed Nov 26, 2015
Commits on Nov 24, 2015
  1. Merge pull request #449 from IcaliaLabs/ssl-docs

    Adds docs directory with SSL configuration help
    committed Nov 24, 2015
Commits on Nov 21, 2015
  1. @kurenn
Commits on Nov 20, 2015
  1. Merge pull request #441 from IcaliaLabs/master

    Solves #266 - Honors the verify option to avoid overrides
    committed Nov 20, 2015
  2. @britter-decoit
Commits on Nov 16, 2015
  1. @kurenn
  2. Merge pull request #444 from JonMidhir/implement_is_a_in_httparty_res…

    …ponse
    
    Implement is_a? and kind_of? in httparty response
    committed Nov 16, 2015
  3. Merge pull request #446 from judy/bug/fix-deprecations

    Fix deprecations, and add additional steps that we're using.
    committed Nov 16, 2015
Commits on Nov 12, 2015
  1. @judy
Commits on Nov 6, 2015
  1. @kurenn
  2. @JonMidhir

    Add support for is_a? and kind_of? to HTTParty::Response.

    Previously these were delegated to the parsed_response, leading to inaccurate output and unpredictable behaviour.
    
    For example:
    
        response.class == HTTParty::Response #true
    
        response.is_a?(HTTParty::Response) # false
    JonMidhir committed Nov 6, 2015
  3. @JonMidhir

    Fix inaccurate step definition

    Step def appears to check against user defined class - In reality always checking against String.
    
    Change fixes this and also adds support for nested classes.
    JonMidhir committed Nov 6, 2015
Commits on Nov 5, 2015
  1. Merge pull request #443 from tylerb/master

    Return if gzip response body is nil
    committed Nov 5, 2015
  2. Merge pull request #440 from francistm/issue-tripit-cookie-example

    fix cookie bug in tripit-sign-in example
    committed Nov 5, 2015
  3. @tylerb

    Return if gzip response body is nil

    Fix #442
    tylerb committed Nov 5, 2015
Commits on Oct 30, 2015
  1. @kurenn
Commits on Oct 27, 2015
  1. @francistm
Commits on Oct 22, 2015
  1. Merge pull request #439 from MaxGabriel/patch-1

    Fix typo of existent
    committed Oct 22, 2015
  2. @MaxGabriel

    Fix typo of existent

    MaxGabriel committed Oct 21, 2015
Commits on Sep 26, 2015
  1. Merge pull request #435 from pvande/fix/deflate-on-redirects

    Stop trying to deflate responses that redirect.
    committed Sep 26, 2015
Commits on Sep 23, 2015
  1. Release 0.13.7

    committed Sep 23, 2015
  2. Merge pull request #436 from 007/patch-2

    Remove high-byte emoji from post-install message
    committed Sep 23, 2015
Commits on Sep 22, 2015
  1. @007

    Remove high-byte emoji from post-install message

    Since @jnunemaker will never remove the message (even though he never sees it because he runs with `--quiet`), at least make it so that the regular output is ASCII.
    007 committed Sep 22, 2015
Commits on Sep 21, 2015
  1. @pvande

    Stop trying to deflate responses that redirect

    Some servers (including YouTube) will send a redirect response with a
    Content-Encoding header, but no body.  Since inflating an empty body
    raises an exception, we should minimally work around this problem for
    non-terminal redirect responses.
    
    Note that this will still attempt to inflate a redirected response body
    if HTTParty is not configured to follow redirects (which will raise
    exceptions if the body is empty), and this does nothing to protect
    against otherwise empty responses with a compressed Content-Encoding
    (which may indicate a mis-configured server).
    pvande committed Sep 21, 2015
  2. Release 0.13.6

    committed Sep 20, 2015
  3. Update history

    committed Sep 20, 2015
  4. Merge pull request #433 from pvande/fix/argument-error-on-parse

    Avoid calling String#strip on invalid Strings
    committed Sep 20, 2015
  5. Merge pull request #432 from jpb/307-308-redirect-status-codes

    Request method is not being preserved on 307 and 308 redirects
    committed Sep 20, 2015
Commits on Sep 19, 2015
  1. @pvande

    Avoid calling String#strip on invalid Strings

    Use case: some servers have been known to serve files with
    Content-Types like “video/mp4; charset=utf-8”, which HTTParty dutifully
    tells ruby is a UTF-8 string.  However, before the Parser can decide
    that MP4 is not a format it is capable of parsing, the response body is
    tested for emptiness … after whitespace is stripped.
    
    Since the String isn’t actually a valid UTF-8 String, this raises an
    ArgumentError.  This patch fixes that error by avoiding the call on
    Strings that are not validly encoded.
    pvande committed Sep 18, 2015