Project

General

Profile

Bug #15019

Documentation for Net::HTTP claims that multipart/form-data is not supported

Added by graywolf (Gray Wolf) about 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
docs
Target version:
-
[ruby-core:88617]

Description

https://ruby-doc.org/stdlib-2.5.1/libdoc/net/http/rdoc/Net/HTTP.html claims that At this time Net::HTTP does not support multipart/form-data.. According to stackoverflow ( https://stackoverflow.com/a/45976252/781743 ) this should be supported since 1.9.3 via the Net::HTTPHeader#set_form method. This patch adjust documentation to be in line with that.

Backport to all still supported rubies would be nice.


Files

Associated revisions

Revision 4ae20f04
Added by aycabta (aycabta .) 10 months ago

Improve doc of multipart/form-data [Bug #15019]

  • lib/net/http.rb: Documentation for Net::HTTP claims that multipart/form-data is not supported, but Net::HTTPHeader#set_form supports it since 1.9.3.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 65230
Added by aycabta (aycabta .) 10 months ago

Improve doc of multipart/form-data [Bug #15019]

  • lib/net/http.rb: Documentation for Net::HTTP claims that multipart/form-data is not supported, but Net::HTTPHeader#set_form supports it since 1.9.3.

Revision 65230
Added by aycabta (aycabta .) 10 months ago

Improve doc of multipart/form-data [Bug #15019]

  • lib/net/http.rb: Documentation for Net::HTTP claims that multipart/form-data is not supported, but Net::HTTPHeader#set_form supports it since 1.9.3.

History

Updated by hsbt (Hiroshi SHIBATA) 12 months ago

  • Assignee set to docs
  • Status changed from Open to Assigned
#2

Updated by aycabta (aycabta .) 10 months ago

  • Status changed from Assigned to Closed

Applied in changeset trunk|r65230.


Improve doc of multipart/form-data [Bug #15019]

  • lib/net/http.rb: Documentation for Net::HTTP claims that multipart/form-data is not supported, but Net::HTTPHeader#set_form supports it since 1.9.3.

Also available in: Atom PDF