Actions
Bug #15019
closedDocumentation for Net::HTTP claims that multipart/form-data is not supported
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
Updated by hsbt (Hiroshi SHIBATA) almost 6 years ago
- Status changed from Open to Assigned
- Assignee set to 13939
Updated by aycabta (aycabta .) almost 6 years 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.
Actions
Like0
Like0Like0