Skip to content
This repository

Dec 20, 2010

  1. Hiroshi Nakamura

    Updated README.txt for 2.1.6.

    authored December 20, 2010
  2. Hiroshi Nakamura

    Set encoding to ASCII_8BIT as a response.

    In the future, we should try to detect 'Content-Encoding' HTTP header
    and handle body encoding properly like open-uri.rb.
    authored December 20, 2010
  3. Hiroshi Nakamura

    Make Keep-Alive test use threads properly.

    The former test depends on threads execution order so it didn't work as
    expected when I increased client threads or let it run on JRuby.
    Inserted step-by-step assertions.
    authored December 20, 2010

Dec 15, 2010

  1. Hiroshi Nakamura

    Revert "Adding local_sockaddr"

    This reverts commit bc6a1b1.
    
    Conflicts:
    
    	lib/httpclient.rb
    	lib/httpclient/session.rb
    authored December 15, 2010
  2. Hiroshi Nakamura

    Revert "Getting rid of sockaddr/bind attempt, replacing with local_ho…

    …st and local_port"
    
    This reverts commit e464596.
    
    Conflicts:
    
    	lib/httpclient.rb
    	lib/httpclient/session.rb
    
    Setting fixed local_host and local_port does not work well with current
    SessionManager implementation...
    authored December 15, 2010
  3. Hiroshi Nakamura

    Invalidate pooled sessions for the same destination when we got a Kee…

    …pAliveDisconnected exception. closes #30.
    
    I know the original intent of #30 is 'create a new (non cached) session
    when we got a KeepAliveDisconnected' but the suggested fix could create
    too much session to the same site I guess... So at this time, I decided
    to invalidate all sessions to the same site. It must include live
    sessions (not expired) but it should not cause performance degrade in
    the situation such as we got KeepAliveDisconnected.
    authored December 15, 2010

Dec 14, 2010

  1. Hiroshi Nakamura

    Merge https://github.com/icblenke/httpclient into icblenke

    Conflicts:
    	lib/httpclient.rb
    	lib/httpclient/session.rb
    authored December 14, 2010
  2. Hiroshi Nakamura

    Merge https://github.com/billitch/httpclient into billitch

    authored December 14, 2010
  3. Do not leak sessions (and thus filedescriptors and TCP connections) f…

    …rom the pool. Fix bug http://github.com/nahi/httpclient/issues/issue/29 .
    
    closes #29.
    Signed-off-by: Hiroshi Nakamura <nahi@ruby-lang.org>
    authored February 24, 2010 nahi committed December 14, 2010

Dec 13, 2010

  1. Hiroshi Nakamura

    Update cacert.p7s and cacert_sha1.p7s with certs in JDK6u22. closes #45.

    authored December 13, 2010
  2. Hiroshi Nakamura

    Replace timeout only in CRuby 1.8. Timeout.timeout of CRuby 1.9 and J…

    …Ruby are already doing the same optimization.
    authored December 13, 2010
  3. Hiroshi Nakamura

    Avoid unused variable warnings from 1.9. closes #24.

    authored December 13, 2010
  4. Hiroshi Nakamura

    Added docs for OAuthClient. closes #4.

    authored December 13, 2010

Dec 12, 2010

  1. Hiroshi Nakamura

    Fixed NME for non absolute-URI redirect on https. closes #20.

    authored December 12, 2010
  2. Hiroshi Nakamura

    Applied a patch from ibc: DigestAuth header quotation error: closes #27.

    qup and algorithm is not required to be quoted. RFC2617 includes an
    example 'qop="auth,auth-int"' though...
    authored December 12, 2010
  3. Hiroshi Nakamura

    Make sure to rescue an Exception. closes #44.

    authored December 12, 2010
  4. Hiroshi Nakamura

    Applied the patch in #44: let Connection#pop raise the Exception when…

    … the request finished with an Exception.
    authored December 12, 2010
  5. Hiroshi Nakamura

    In DigestAuth, include query string in the base URI of digest calcula…

    …tion. closes #43.
    authored December 12, 2010
  6. Hiroshi Nakamura

    Do not depend on Float#to_s behavior. closes #36.

    authored December 12, 2010
  7. Hiroshi Nakamura

    RDoc typo fixed. closes #32.

    authored December 12, 2010
  8. Hiroshi Nakamura

    Added transparent_gzip_decompression property. closes #42.

    Applied a patch from Teshootub7.  With setting
    HTTPClient#transparent_gzip_decompression = true, HTTPClient tries to do
    gzip/deflate content transmission. Following explanation is by
    Teshootub7.
    
    All you need to use "transparent gzip decompression" is done by:
    
      clnt.transparent_gzip_decompression = true
    
    Then you can retrieve a document as usual.
    
      res = clnt.get("http://www.debian.org/")
    
    The document is transferred with gzip compressed.
    
      res.header["Content-Encoding"]
      => ["gzip"]
      res.header["Content-Length"]
      => ["4422"]
      res.content.length
      => 13942
    
    And you can read the content without knowing it is compressed or not.
    authored December 12, 2010
  9. Hiroshi Nakamura

    Use absolute URI iif via proxy AND not HTTPS. closes #41.

    Thanks tai for reporting this.
    authored December 12, 2010
  10. Hiroshi Nakamura

    Additional change for the previous commit; do hexdump if a content lo…

    …oks binary.
    authored December 12, 2010
  11. Chetan Sarva

    when debugging, don't dump binary data; display message instead

    Signed-off-by: Hiroshi Nakamura <nahi@ruby-lang.org>
    authored September 07, 2010 nahi committed December 12, 2010
  12. Chetan Sarva

    rewind file part after dumping it [caused problem when using digest a…

    …uth]
    
    Signed-off-by: Hiroshi Nakamura <nahi@ruby-lang.org>
    authored May 05, 2010 nahi committed December 12, 2010
  13. Hiroshi Nakamura

    Version bump to 2.1.6 for preparing a new release.

    authored December 12, 2010
  14. Hiroshi Nakamura

    Add gem name to README.txt; rubysspi for win32/sspi, rubyntlm for net…

    …/ntlm.
    authored December 12, 2010
  15. Hiroshi Nakamura

    OAuth Session 1.0 (draft) support.

    authored December 12, 2010
  16. Hiroshi Nakamura

    test update for 1.9 support. (not yet completed)

    authored December 12, 2010

May 22, 2010

  1. Hiroshi Nakamura

    install oauthclient.rb as well as httpclient.rb

    authored May 23, 2010
  2. Hiroshi Nakamura

    Added Google Buzz OAuth sample client.

    authored May 23, 2010

Apr 02, 2010

  1. Hiroshi Nakamura

    JRuby exception support: see #25.

    JRuby may raise IOError instead of ECONNRESET.  Catch this for
    KeepAliveDisconnected detection.
    authored April 02, 2010
  2. Hiroshi Nakamura

    Follows test_httpclient.rb changes.

    authored April 02, 2010

Apr 01, 2010

  1. Hiroshi Nakamura

    Test updated.

    Speed-up test process.  Avoid server process spawing in SSL test.
    authored April 01, 2010
  2. Hiroshi Nakamura

    preparing 2.1.6

    authored April 01, 2010
Something went wrong with that request. Please try again.