forked from nahi/httpclient
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hiroshi Nakamura
committed
Jun 2, 2011
1 parent
2afaf38
commit bb6fbd5
Showing
3 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ See HTTPClient for documentation. | |
|
||
== Author | ||
|
||
Name:: NAKAMURA, Hiroshi | ||
Name:: Hiroshi Nakamura | ||
E-mail:: [email protected] | ||
Project web site:: http://github.com/nahi/httpclient | ||
|
||
|
@@ -95,6 +95,47 @@ Thanks in advance. | |
|
||
== Changes | ||
|
||
= Changes in 2.2.1 = | ||
|
||
Jun 2, 2011 - version 2.2.1 | ||
|
||
* Bug fixes | ||
|
||
* For Lighttpd + PUT/POST support, do not send a request using chunked | ||
encoding when IO respond to :size, File for example. | ||
|
||
- There is no need to send query with Transfer-Encoding: chuncked when | ||
IO respond to :size. | ||
- 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. | ||
|
||
This fix is by TANABE Ken-ichi <[email protected]>. Thanks! | ||
|
||
* Allow empty http_proxy ENV variable. Just treat it the same as if it's | ||
nil/unset. This fix is by Ash Berlin <[email protected]>. | ||
Thanks! | ||
|
||
* Check EOF while reading chunked response and close the session. It | ||
raised NoMethodError. | ||
|
||
* Changes | ||
|
||
* Updated trusted CA certificates file (cacert.p7s and cacert_sha1.p7s). | ||
CA certs are imported from | ||
'Java(TM) SE Runtime Environment (build 1.6.0_25-b06)'. | ||
|
||
* Changed default chunk size from 4K to 16K. It's used for reading size | ||
at a time. | ||
|
||
= Changes in 2.2.0 = | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
require 'rubygems' | ||
SPEC = Gem::Specification.new do |s| | ||
s.name = "httpclient" | ||
s.version = "2.2.0.2" | ||
s.date = "2011-04-25" | ||
s.author = "NAKAMURA, Hiroshi" | ||
s.version = "2.2.1" | ||
s.date = "2011-06-02" | ||
s.author = "Hiroshi Nakamura" | ||
s.email = "[email protected]" | ||
s.homepage = "http://github.com/nahi/httpclient" | ||
s.platform = Gem::Platform::RUBY | ||
s.summary = "gives something like the functionality of libwww-perl (LWP) in Ruby" | ||
s.files = Dir.glob("{lib}/**/*") | ||
s.files = Dir.glob("{lib,sample,test}/**/*") | ||
s.require_path = "lib" | ||
s.has_rdoc = true | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters