Actions
Bug #203
closed
net/http sends wrong content-length
Bug #203:
net/http sends wrong content-length
ruby -v:
Backport:
Description
=begin
String#size returns count of chars, not count of bytes.
It is necessary to use bytesize method.
Index: lib/net/http.rb¶
--- lib/net/http.rb (revision 17614)
+++ lib/net/http.rb (working copy)
@@ -1643,7 +1643,7 @@
private
=end
Actions