Project

General

Profile

Actions

Bug #15019

closed

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

Added by graywolf (Gray Wolf) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
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

Updated by hsbt (Hiroshi SHIBATA) over 5 years ago

  • Status changed from Open to Assigned
  • Assignee set to 13939
Actions #2

Updated by aycabta (aycabta .) over 5 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

Also available in: Atom PDF

Like0
Like0Like0