Skip to content

LibQurl v0.90.0

Latest
Compare
Choose a tag to compare
@Qriist Qriist released this 27 Dec 21:12
· 5 commits to master since this release

Added most of the rest of the MIME functions. These mostly focus on server-specified formatting requirements.

What's new in this release:

  • Added MimeTreatPartAsFile(). This tells the server that it should consider that mime_part as a file with the given file name.
  • Added AttachMimeAsPart(). This allows you to embed an entire other mime_handle as a single mime_part. Because there's no way to undo this action, LibQurl will stop tracking the embedded mime_handle and any subsequent calls to that mime_handle will throw an error. Also, using this function after using the embedded mime_handle in a transfer will fail; you have to rebuild the entire structure from scratch in order to embed.
  • Added MimePartEncoder()/SetMimePartHeaders(). These are difficult to get feedback on without a server specifically designed to echo these low-level aspects. While libcurl reports no error, I currently have no proper test case to verify against.
  • Allowed SetHeaders()/SetMimePartHeaders() and custom header inputs to also accept Objects (in addition to Arrays and Maps).