aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index d460aeaa0b..4b1a65767f 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -1410,6 +1410,7 @@ module Net #:nodoc:
req.exec @socket, @curr_http_version, edit_path(req.path)
begin
res = HTTPResponse.read_new(@socket)
+ res.decode_content = req.decode_content
end while res.kind_of?(HTTPContinue)
res.uri = req.uri