httpclient 2.2.0 → 2.2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/httpclient.rb CHANGED
@@ -229,7 +229,7 @@ require 'httpclient/cookie'
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'
232
+ VERSION = '2.2.0.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})"
@@ -861,6 +861,7 @@ module HTTP
861
861
  @http_body = body
862
862
  @http_header.body_size = @http_body.size if @http_header
863
863
  end
864
+ alias body= http_body=
864
865
 
865
866
  # Returns HTTP version in a HTTP header. String.
866
867
  def http_version
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: httpclient
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.0
5
+ version: 2.2.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - NAKAMURA, Hiroshi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-08 00:00:00 Z
13
+ date: 2011-04-19 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: