Skip to content

Commit

Permalink
* preparing 2.1.4 release.
Browse files Browse the repository at this point in the history
git-svn-id: http://dev.ctor.org/svn/http-access2/trunk@269 a74cc93d-ecea-0310-97c0-aac310535a50
  • Loading branch information
nahi committed Feb 13, 2009
1 parent 518a3e0 commit e5f97e4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
22 changes: 20 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ You can also check sample/howto.rb how to use APIs.

== Download

* Stable: http://dev.ctor.org/download/httpclient-2.1.3.1.tar.gz (tar + gzip)
* Stable: http://dev.ctor.org/download/httpclient-2.1.3.1.zip (ZIP)
* Stable: http://dev.ctor.org/download/httpclient-2.1.4.tar.gz (tar + gzip)
* Stable: http://dev.ctor.org/download/httpclient-2.1.4.zip (ZIP)

* Older versions: http://dev.ctor.org/download/archive/

Expand Down Expand Up @@ -102,6 +102,23 @@ Thanks in advance.

== Changes

Feb 13, 2009 - version 2.1.4

* Bug fixes
* When we hit some site through http-proxy we get a response without
Content-Length header. httpclient/2.1.3 drops response body for such
case. fixed. (#199)
* Avoid duplicated 'Date' header in request. Fixed. (#194)
* Avoid to add port number to 'Host' header. Some servers like GFE/1.3
dislike it. Thanks to anonymous user for investigating the behavior.
(#195)
* httpclient/2.1.3 does not work when you fork a process after requiring
httpclient module (Passenger). Thanks to Akira Yamada for tracing down
this bug. (#197)
* httpclient/2.1.3 cannot handle Cookie header with 'expires=' and
'expires=""'. Empty String for Time.parse returns Time.now unlike
ParseDate.parsedate. Thanks to Mark for the patch. (#200)

Jan 8, 2009 - version 2.1.3.1

* Security fix introduced at 2.1.3.
Expand All @@ -115,6 +132,7 @@ Thanks in advance.
net/http directly wherever possible.

Dec 29, 2008 - version 2.1.3

* Features
* Proxy Authentication for SSL.
* Performance improvements.
Expand Down
4 changes: 2 additions & 2 deletions httpclient.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require 'rubygems'
SPEC = Gem::Specification.new do |s|
s.name = "httpclient"
s.version = "2.1.3.1"
s.date = "2009-01-08"
s.version = "2.1.4"
s.date = "2009-02-13"
s.author = "NAKAMURA, Hiroshi"
s.email = "[email protected]"
s.homepage = "http://dev.ctor.org/httpclient"
Expand Down
4 changes: 2 additions & 2 deletions lib/httpclient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
# res = clnt.post(uri, body)
#
# 2. Do multipart file upload with POST. No need to set extra header by
# yourself from httpclient/2.1.3.
# yourself from httpclient/2.1.4.
#
# File.open('/tmp/post_data') do |file|
# body = { 'upload' => file, 'user' => 'nahi' }
Expand Down Expand Up @@ -199,7 +199,7 @@
# ruby -rhttpclient -e 'p HTTPClient.head(ARGV.shift).header["last-modified"]' http://dev.ctor.org/
#
class HTTPClient
VERSION = '2.1.3.1'
VERSION = '2.1.4'
RUBY_VERSION_STRING = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
/: (\S+) (\S+)/ =~ %q$Id$
LIB_NAME = "(#{$1}/#{$2}, #{RUBY_VERSION_STRING})"
Expand Down

0 comments on commit e5f97e4

Please sign in to comment.