Path to this page:
./
www/ruby-faraday-multipart,
Perform multipart-post requests using Faraday
Branch: CURRENT,
Version: 1.1.0,
Package name: ruby32-faraday-multipart-1.1.0,
Maintainer: pkgsrc-usersFaraday 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.
Master sites:
Filesize: 10.5 KB
Version history: (Expand)
- (2025-01-02) Updated to version: ruby32-faraday-multipart-1.1.0
- (2023-01-07) Package added to pkgsrc.se, version ruby31-faraday-multipart-1.0.4 (created)
CVS history: (Expand)
2025-01-02 07:07:39 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
www/ruby-faraday-multipart: update to 1.1.0
1.1.0 (2024-12-17)
What's Changed
* README.md: Use GitHub Actions badge by @olleolleolle in #13
* Add The Ability To Specify A Different Content Type by @juna-nb in #14
New Contributors
* @juna-nb made their first contribution in #14
|
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.
|