Skip to content
Commits on Aug 17, 2011
  1. @nahi

    Stop running CI for rbx

    I should say 'httpclient does not run on rbx' at this moment.
     - rubinius/rubinius#689
     - http://travis-ci.org/#!/nahi/httpclient/builds/85213
    nahi committed Aug 17, 2011
  2. @nahi

    Make use of Travis CI

    nahi committed Aug 17, 2011
  3. @nahi

    Add Gemfile for Bundler

    nahi committed Aug 17, 2011
  4. @nahi

    Suppress known and ignorable errors

    Need to fix at JRuby side.
    nahi committed Aug 17, 2011
  5. @nahi

    Use bundler as a part of build system

    Preparing for Travis CI.
    nahi committed Aug 17, 2011
Commits on Jun 2, 2011
  1. @nahi

    Version bump to 2.2.1.

    nahi committed Jun 2, 2011
  2. @nahi

    chmod 644

    nahi committed Jun 2, 2011
  3. @nahi

    Add tags, pkg and coverage

    nahi committed Jun 2, 2011
  4. @nahi
  5. @nahi

    Make test TZ-free

    No one except graaff and JST guys run testcase many years...
    Close #39.
    nahi committed Jun 2, 2011
  6. @nahi

    Close session when we get EOF while reading message body

    For chunked encoding, we didn't check it. For non-chunked encoding, it
    was closed at get_body but there was a chance not closed if the session
    is keep-alive.  Close #51.
    nahi committed Jun 2, 2011
Commits on May 30, 2011
  1. @nahi

    Remove extra call to File#rewind

    Based on similarity between Body#dump and Body#dump_chunked, I found
    that File#rewind is wrongly called for MIME/multipart form upload.
    nahi committed May 30, 2011
  2. @nahi

    Add test for streaming + non-chunked post

    And I realized that chunk size was overridden by session. Changed the
    chunk size from 4K to 16K.
    nahi committed May 30, 2011
  3. @nahi

    Regression: setting proxy with URI

    client.proxy = '' and client.proxy = URI.parse('') broken by
    f29310d. Fixed.
    nahi committed May 30, 2011
  4. @nahi

    Merge pull request #59 from nabeken/improved-put-post

    (resubmit) disable Transfer-Encoding: chuncked when IO respond to :read
    nahi committed May 30, 2011
  5. @nahi

    Merge pull request #57 from ashb/master

    ENV['http_proxy'] can be an empty string
    nahi committed May 30, 2011
Commits on May 28, 2011
  1. @nabeken

    Do not send request with Transfer-Encoding: chuncked when IO respond …

    …to :size
    
    1. There is no need to send query with Transfer-Encoding: chuncked when
       IO respond to :size.
    2. Lighttpd does not support PUT, POST with Transfer-Encoding: chuncked.
       You will see that the lighty respond with 200 OK, but there is a file
       whose size is zero...
    
    LIMITATION:
       timeout occurs certainly when you send very large file and @send_timeout is
       default since HTTPClient::Session#query() assumes that *all* write
       are finished in @send_timeout sec not each write.
    
    WORKAROUND:
       increment @send_timeout and @receive_timeout or set @send_timeout and
       @receive_timeout to 0 not to be timeout.
    nabeken committed May 21, 2011
Commits on May 25, 2011
  1. @nabeken @nahi

    Use free port number for WEBrick::HTTPProxyServer

    Signed-off-by: Hiroshi Nakamura <nahi@ruby-lang.org>
    nabeken committed with nahi May 24, 2011
Commits on May 24, 2011
  1. @nahi
  2. @nahi

    Ignore *~

    nahi committed May 24, 2011
  3. @nahi

    Extract test helper

    Preparing port number rotation.
    nahi committed May 24, 2011
Commits on May 22, 2011
  1. @nahi

    Update trusted CA cert.

    Import trusted CA cert entries in Sun's JDK6u25.
    nahi committed May 22, 2011
Commits on May 16, 2011
  1. @ashb

    Support empty (but set) http_proxy ENV variable

    Just treat it the same as if it was nil/unset
    ashb committed May 16, 2011
Commits on Apr 25, 2011
  1. @nahi

    Version bump to 2.2.0.2

    nahi committed Apr 25, 2011
  2. @nahi

    restore webmock compatibility.

    webmock 1.6.2 depends on HTTP::Message#body.content to work.  let's keep
    it work iif webmock is loaded for a while.
    nahi committed Apr 25, 2011
Commits on Apr 20, 2011
  1. @nahi

    keyword_argument should accept nil as a value.

    Accept HTTPClient.new(:proxy => nil) as a keyword argument.
    nahi committed Apr 20, 2011
Commits on Apr 19, 2011
  1. @nahi

    Version bump to 2.2.0.1.

    This release only add 1 alias for webmock compatibility.
    nahi committed Apr 19, 2011
  2. @nahi

    Fix webmock compatibility.

    Webmock depends on HTTP::Message#body=. Fix it.
    
    Webmock also uses HTTP::Message#body.content but I changed Message#body
    to return a String so I cannot recover this compatibility. (Adding
    singleton method causes Marshal.dump failure for returned body String.)
    I'll ask webmock to fix in the next release.
    nahi committed Apr 19, 2011
Commits on Apr 8, 2011
  1. @nahi

    Version bump to 2.2.0.

    nahi committed Apr 8, 2011
  2. @nahi

    Update method usage examples.

    nahi committed Apr 8, 2011
  3. @nahi
  4. @nahi

    Add res.headers method which returns a Hash of headers.

    Hash key and value are both String. Each key has a single value so you
    can't extract exact value when a message has multiple headers like
    'Set-Cookie'. Use header['Set-Cookie'] for that purpose.
    (It returns an Array always)
    nahi committed Apr 8, 2011
  5. @nahi

    Add res.cookies method.

    It returns parsed cookie in response header. It's different from
    client.cookie_manager.cookies. manager keeps persistent cookies in it.
    nahi committed Apr 8, 2011
  6. @nahi
  7. @nahi

    Handle argument Hash at new method: argument_to_hash

    It converts array style arguments to defined Hash.
    nahi committed Apr 8, 2011
Something went wrong with that request. Please try again.