summaryrefslogtreecommitdiff
path: root/lib/net/http
diff options
context:
space:
mode:
-rw-r--r--lib/net/http/generic_request.rb1
1 files changed, 1 insertions, 0 deletions
@@ -207,6 +207,7 @@ class Net::HTTPGenericRequest
self.content_length = file.size
write_header sock, ver, path
IO.copy_stream(file, sock)
end
end