Skip to content
This repository
Browse code

Version bump to 2.2.1.

  • Loading branch information...
commit bb6fbd5b708b6223c185680b306c85ec9603d5aa 1 parent 2afaf38
Hiroshi Nakamura authored

Showing 3 changed files with 47 additions and 7 deletions. Show diff stats Hide diff stats

  1. +42 1 README.txt
  2. +4 5 httpclient.gemspec
  3. +1 1  lib/httpclient.rb
43 README.txt
@@ -32,7 +32,7 @@ See HTTPClient for documentation.
32 32
33 33 == Author
34 34
35   -Name:: NAKAMURA, Hiroshi
  35 +Name:: Hiroshi Nakamura
36 36 E-mail:: nahi@ruby-lang.org
37 37 Project web site:: http://github.com/nahi/httpclient
38 38
@@ -95,6 +95,47 @@ Thanks in advance.
95 95
96 96 == Changes
97 97
  98 += Changes in 2.2.1 =
  99 +
  100 + Jun 2, 2011 - version 2.2.1
  101 +
  102 + * Bug fixes
  103 +
  104 + * For Lighttpd + PUT/POST support, do not send a request using chunked
  105 + encoding when IO respond to :size, File for example.
  106 +
  107 + - There is no need to send query with Transfer-Encoding: chuncked when
  108 + IO respond to :size.
  109 + - Lighttpd does not support PUT, POST with Transfer-Encoding: chuncked.
  110 + You will see that the lighty respond with 200 OK, but there is a file
  111 + whose size is zero.
  112 +
  113 + LIMITATION:
  114 + timeout occurs certainly when you send very large file and
  115 + @send_timeout is default since HTTPClient::Session#query() assumes
  116 + that *all* write are finished in @send_timeout sec not each write.
  117 +
  118 + WORKAROUND:
  119 + increment @send_timeout and @receive_timeout or set @send_timeout and
  120 + @receive_timeout to 0 not to be timeout.
  121 +
  122 + This fix is by TANABE Ken-ichi <nabeken@tknetworks.org>. Thanks!
  123 +
  124 + * Allow empty http_proxy ENV variable. Just treat it the same as if it's
  125 + nil/unset. This fix is by Ash Berlin <ash_github@firemirror.com>.
  126 + Thanks!
  127 +
  128 + * Check EOF while reading chunked response and close the session. It
  129 + raised NoMethodError.
  130 +
  131 + * Changes
  132 +
  133 + * Updated trusted CA certificates file (cacert.p7s and cacert_sha1.p7s).
  134 + CA certs are imported from
  135 + 'Java(TM) SE Runtime Environment (build 1.6.0_25-b06)'.
  136 +
  137 + * Changed default chunk size from 4K to 16K. It's used for reading size
  138 + at a time.
98 139
99 140 = Changes in 2.2.0 =
100 141
9 httpclient.gemspec
... ... @@ -1,14 +1,13 @@
1 1 require 'rubygems'
2 2 SPEC = Gem::Specification.new do |s|
3 3 s.name = "httpclient"
4   - s.version = "2.2.0.2"
5   - s.date = "2011-04-25"
6   - s.author = "NAKAMURA, Hiroshi"
  4 + s.version = "2.2.1"
  5 + s.date = "2011-06-02"
  6 + s.author = "Hiroshi Nakamura"
7 7 s.email = "nahi@ruby-lang.org"
8 8 s.homepage = "http://github.com/nahi/httpclient"
9 9 s.platform = Gem::Platform::RUBY
10 10 s.summary = "gives something like the functionality of libwww-perl (LWP) in Ruby"
11   - s.files = Dir.glob("{lib}/**/*")
  11 + s.files = Dir.glob("{lib,sample,test}/**/*")
12 12 s.require_path = "lib"
13   - s.has_rdoc = true
14 13 end
2  lib/httpclient.rb
@@ -229,7 +229,7 @@
229 229 # ruby -rhttpclient -e 'p HTTPClient.head(ARGV.shift).header["last-modified"]' http://dev.ctor.org/
230 230 #
231 231 class HTTPClient
232   - VERSION = '2.2.0.2'
  232 + VERSION = '2.2.1'
233 233 RUBY_VERSION_STRING = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
234 234 /: (\S+) (\S+)/ =~ %q$Id$
235 235 LIB_NAME = "(#{$1}/#{$2}, #{RUBY_VERSION_STRING})"

0 comments on commit bb6fbd5

Please sign in to comment.
Something went wrong with that request. Please try again.