diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-12 09:25:56 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-12 09:25:56 +0000 |
| commit | 0bf30ef7ca43d621ce3cc0ed262cdc3637425b44 (patch) | |
| tree | 39cb3670513b985e87080581925b4019501e5169 /lib/net | |
| parent | d8f7f55170225d8a28989e9714f449a54c04a3ee (diff) | |
| download | ruby-0bf30ef7ca43d621ce3cc0ed262cdc3637425b44.tar.gz ruby-0bf30ef7ca43d621ce3cc0ed262cdc3637425b44.tar.xz ruby-0bf30ef7ca43d621ce3cc0ed262cdc3637425b44.zip | |
* lib/net/http.rb (tokens): forgot to add strip. [ruby-core:11120]
* test/net/http/test_http.rb: test Net::HTTP.post_form.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
| -rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 060753e62..62b951db1 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1503,7 +1503,7 @@ module Net #:nodoc: return [] unless vals vals.map {|v| v.split(',') }.flatten\ .reject {|str| str.strip.empty? }\ - .map {|tok| tok.downcase } + .map {|tok| tok.strip.downcase } end private :tokens |
