aesiniath / http-streams

Haskell HTTP client library for use with io-streams
https://hackage.haskell.org/package/http-streams
BSD 3-Clause "New" or "Revised" License
50 stars 48 forks source link

Enable multipart form data #124

Closed istathar closed 3 years ago

istathar commented 3 years ago

Introduce new body function multipartFormBody (complimenting the existing encodedFormBody) to build a multipart request from a series of Parts. Parts are constructed from simplePart (corresponding to simpleBody) and filePart (corresponding to fileBody)

Depends on https://github.com/aesiniath/http-common/pull/15.