Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 10, 2012
  1. Version bump to 2.3.0

    authored
  2. Cookies couldn't work property if the path in an URI is omitted

    authored
    Merged the patch from Teshootub7. Thanks!
    
    Fixes #115.
  3. Allow chunked multipart POST of sized IO

    authored
    Based on the fix for #117, this commit allows chunked multipart POST of
    sized IO.  Fixes #112.
  4. Remove the workaround for JRUBY-6136

    authored
    The logic introduced at 767cd87 was
    removed by 1270672 so remove the test
    as well.
    
    Now JRUBY-6136 can happen again but anyway we have more 'IO#size' calls
    that could cause the issue.  Better fix JRuby itself now.
  5. Do not read IO till EOF when the size is given

    authored
    HTTPClient checks if the given IO responds to :size and set
    "Content-Length" header if the size is given.  But it read too much till
    EOF.  Should read just as the specified size.
    
    To make the logic simple, now HTTPClient doesn't try to calculate the
    whole size of request body for Content-Length if the request body is a
    multipart and contains an IO as a parameter.
    
    Fixes #117.
Commits on Oct 9, 2012
  1. Addressable gem support (only if it exists)

    authored
    It wraps Addressable::URI for subtle URI compatibilities that httpclient
    requires.
Commits on Oct 8, 2012
  1. Make SSLv2 harder to use.

    authored
    SSLv2 is already disabled by options and ciphers by default. Now
    httpclient doesn't even try to connect with SSLv2.
  2. Turn $DEBUG on CLI execution

    authored
Commits on Oct 7, 2012
  1. Add CLI

    authored
    bin/httpclient is installed as CLI.
    
    Usage: 1) % httpclient get https://www.google.co.jp/ q=ruby
    Usage: 2) %httpclient
    
    For 1) it issues a GET request to the given URI and shows the wiredump and
    the parsed result.  For 2) it invokes irb shell with the binding that has a
    HTTPClient as 'self'.  You can call HTTPClient instance methods like;
    
      > get "https://www.google.co.jp/", :q => :ruby
  2. Handle '303 See Other' properly

    authored
    RFC2616 says it should be redirected with GET.
  3. Fix "100-continue" support

    authored
    I guess it didn't work properly long time...  Fixed #116. Thanks for
    reporting!
  4. Add the testcase for nil value.

    authored
  5. Merge pull request #118 from pinge/multipart_boolean_values

    authored
    support for boolean values when making POST/PUT requests with multiipart/form Content-Type
Commits on Oct 5, 2012
  1. @pinge

    added support for boolean values when making POST/PUT requests with m…

    pinge authored
    …ultipart/form Content-Type
Commits on Sep 22, 2012
  1. Followup fix for leading dot in no_proxy

    authored
     * '.foo.com' in no_proxy should match with 'www.foo.com';
     * '.foo.com' in no_proxy should not match with 'foo.com'
    
    cf. e2bf6a0
  2. Merge pull request #110 from databus23/patch-1

    authored
    Allow leading dots in no_proxy entries
Commits on Sep 19, 2012
Commits on Sep 3, 2012
  1. Merge pull request #113 from texasjusticar/master

    authored
    Adding ok? convenience method to HTTP:Message
Commits on Aug 30, 2012
  1. adding convenience ok? instance method to HTTP::Message

    Ethan Burrow authored
Commits on Aug 24, 2012
  1. @databus23

    Allow leading dots in no_proxy hostname suffixes

    databus23 authored
    In our network infrastructure the no_proxy environment variable contains host suffixes with leading dots. (e.g: "localhost,.corp")
    This normally works with a lot of unix command line tools (git,wget, etc).
    The change shouldn't break anything but just allow an optional leading '.' in front of the no_proxy elements
Commits on Aug 14, 2012
  1. Version bump to 2.2.7

    authored
  2. Fix arity incompatibility introduced in 2.2.6

    authored
    ed9c65c for #97 required
    (Header|Body)init_response argument is given. It broke Webmock
    compatibility.  See #107.
Commits on Aug 13, 2012
  1. Version bump to 2.2.6

    authored
Commits on Aug 11, 2012
  1. Merge pull request #100 from knu/master

    authored
    Accept an array of strings (and IO-likes) as a query value.
  2. Merge pull request #99 from fhars/return-redirect-result

    authored
    Return redirect result
    
    (Sounds quite reasonable)
  3. Merge pull request #98 from fhars/digest-auth

    authored
    Digest auth changes
    
    (Awesome contributions for new feature and existing tests. Thanks!)
  4. Fill request parameters in response Message::Header

    authored
    Just transplant req.header.(request_method,request_uri,request_query) to
    res.header.  Fixes #97.
  5. Avoid Hash order dependency

    authored
    Test failure in cf6bd14. Thanks
    BuildHive and TravisCI!
  6. Allow body for DELETE

    authored
    entity-body is not explicitly prohibited in spec for methods other than
    HEAD and TRACE.  Allow DELETE to have body as the second argument (or
    :body parameter).
    
    Also explicitly add 'Content-Type: application/x-www-form-urlencoded'
    header if entity-body is encoded in x-www-form-urlencoded. This affects
    all methods not only for DELETE.
    
    Fixes #102.
Commits on Jul 12, 2012
Commits on Jun 4, 2012
  1. @fhars
  2. @knu

    Accept an array of strings (and IO-likes) as a query value.

    knu authored
    e.g. `{ x: 'a', y: [1,2,3] }` is encoded into `"x=a&y=1&y=2&y=3"`.
  3. @fhars

    use old style hash syntax

    fhars authored
  4. @fhars
Something went wrong with that request. Please try again.