Permalink
Commits on Jan 1, 2013
  1. Version bump to 2.3.1

    committed Jan 1, 2013
  2. Remove p7s signature check for cacert

    Sorry for many troubles. This feature is not useful without having
    online/real-time CA certs update but I don't think I can implement it in
    near future.  Users depend on this signature check (who puts cacert.p7s
    in R/W filesystem and ssl_config.rb in R/O filesystem) should take care
    the tampering by themself.
    committed Jan 1, 2013
Commits on Oct 27, 2012
  1. Disable ruby-head for green

    I'll wait for ruby-head update on Travis (on Github, eventually.)
    ruby-head has 'can't set length of shared string' bug.
    committed Oct 27, 2012
  2. Use our own timeout module for 1.9.3

    I misunderstood Timeout in 1.9.3. It still spawns Thread for each
    timeout and confuses profiling...
    committed Oct 27, 2012
Commits on Oct 17, 2012
  1. Cookie code refactoring, too

    Make private function private.
    committed Oct 17, 2012
  2. Cookie code refactoring

    Decided to clean up cookie code so that I can use domain_name.
    committed Oct 17, 2012
Commits on Oct 15, 2012
  1. Support IPv6 address in URI

    Fixes #122.
    committed Oct 15, 2012
Commits on Oct 10, 2012
  1. Version bump to 2.3.0.1

    committed Oct 10, 2012
  2. Revert "Do not read IO till EOF when the size is given"

    This reverts commit 1270672.
    committed Oct 10, 2012
  3. Revert "Remove the workaround for JRUBY-6136"

    This reverts commit 8bb4854.
    committed Oct 10, 2012
  4. Revert "Allow chunked multipart POST of sized IO"

    This reverts commit 13c3f87.
    committed Oct 10, 2012
  5. Skip detecting old versions of addressable

    Addressable::URI#default_port that httpclient depends on does not exist
    in old versions of addressable gem.  Fixes #120.
    committed Oct 10, 2012
  6. Version bump to 2.3.0

    committed Oct 10, 2012
  7. Cookies couldn't work property if the path in an URI is omitted

    Merged the patch from Teshootub7. Thanks!
    
    Fixes #115.
    committed Oct 10, 2012
  8. Allow chunked multipart POST of sized IO

    Based on the fix for #117, this commit allows chunked multipart POST of
    sized IO.  Fixes #112.
    committed Oct 10, 2012
  9. Remove the workaround for JRUBY-6136

    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.
    committed Oct 10, 2012
  10. Do not read IO till EOF when the size is given

    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.
    committed Oct 10, 2012
Commits on Oct 9, 2012
  1. Addressable gem support (only if it exists)

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

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

    committed Oct 8, 2012
Commits on Oct 7, 2012
  1. Add CLI

    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
    committed Oct 7, 2012
  2. Handle '303 See Other' properly

    RFC2616 says it should be redirected with GET.
    committed Oct 7, 2012
  3. Fix "100-continue" support

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

    committed Oct 7, 2012
  5. Merge pull request #118 from pinge/multipart_boolean_values

    support for boolean values when making POST/PUT requests with multiipart/form Content-Type
    committed Oct 7, 2012
Commits on Oct 5, 2012
  1. added support for boolean values when making POST/PUT requests with m…

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

     * '.foo.com' in no_proxy should match with 'www.foo.com'
     * '.foo.com' in no_proxy should not match with 'foo.com'
    
    cf. e2bf6a0
    committed Sep 22, 2012
  2. Merge pull request #110 from databus23/patch-1

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

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

    Ethan Burrow committed Aug 30, 2012
Commits on Aug 24, 2012
  1. Allow leading dots in no_proxy hostname suffixes

    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
    databus23 committed Aug 24, 2012
Commits on Aug 14, 2012
  1. Version bump to 2.2.7

    committed Aug 14, 2012