Path to this page:
Next | Query returned 1 messages, browsing 1 to 10 | previous
CVS Commit History:
2023-01-07 16:20:12 by Takahiro Kambe | Files touched by this commit (4) |
Log message:
www/ruby-faraday-multipart: add package version 1.0.4
Required by newer ruby-faraday package.
Faraday Multipart
The Multipart middleware converts a Faraday::Request#body Hash of
key/value pairs into a multipart form request, but only under these
conditions:
* The request's Content-Type is "multipart/form-data"
* Content-Type is unspecified, AND one of the values in the Body responds to
#content_type.
Faraday contains a couple helper classes for multipart values:
* Faraday::Multipart::FilePart wraps binary file data with a Content-Type.
The file data can be specified with a String path to a local file, or an
IO object.
* Faraday::Multipart::ParamPart wraps a String value with a Content-Type,
and optionally a Content-ID.
|
Next | Query returned 1 messages, browsing 1 to 10 | previous