Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multipart_inject() or mime_inject() #9

Open
lcsmuller opened this issue Mar 11, 2021 · 1 comment
Open

Implement multipart_inject() or mime_inject() #9

lcsmuller opened this issue Mar 11, 2021 · 1 comment

Comments

@lcsmuller
Copy link
Contributor

For sending a multipart/form-data content type we are required to send a body in the appropriate multipart format type (See here). Currently the temporary solution is to use curl_mime type, which can be used with some related functions for creating the multipart body. Unfortunately we can't access the multipart content itself and have to expose curl functions to the library developers. (See discord-public-channel.cpp:210 for example)

The inclusion of multipart_inject()/mime_inject() could provide a way to create multipart type body which can then be easily accessed via struct sized_buffer req_body

@mlite
Copy link
Contributor

mlite commented Mar 13, 2021

We have a working solution, the need of this is low.

@lcsmuller lcsmuller transferred this issue from cee-studio/orca Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants