[ruby-core:88650] [Ruby trunk Bug#15019][Assigned] Documentation for Net::HTTP claims that multipart/form-data is not supported

From: hsbt@...
Date: 2018-08-26 06:03:15 UTC
List: ruby-core #88650
Issue #15019 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned
Assignee set to docs

----------------------------------------
Bug #15019: Documentation for Net::HTTP claims that multipart/form-data is not supported
https://bugs.ruby-lang.org/issues/15019#change-73706

* Author: graywolf (Gray Wolf)
* Status: Assigned
* Priority: Normal
* Assignee: docs
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
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--------------------------------
0001-Clarify-that-Net-HTTP-support-multipart-form-data.patch (1.1 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next