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

add multipart formdata for PUT requests. #1351

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

Gopinath-Kalaiyarasan
Copy link
Contributor

  • httplib.h

    add multipart formdata for PUT in addition to POST as some REST
    APIs use that.

    Factor the boundary checking code into a helper and use it from
    both Post() and Put().

  • test/test.cc

    add test cases for the above.

* httplib.h

  add multipart formdata for PUT in addition to POST as some REST
  APIs use that.

  Factor the boundary checking code into a helper and use it from
  both Post() and Put().

* test/test.cc

  add test cases for the above.
@yhirose yhirose merged commit 656e936 into yhirose:master Aug 5, 2022
@yhirose
Copy link
Owner

yhirose commented Aug 5, 2022

@Gopinath-Kalaiyarasan, thanks for your contribution!

ExclusiveOrange pushed a commit to ExclusiveOrange/cpp-httplib-exor that referenced this pull request May 2, 2023
* httplib.h

  add multipart formdata for PUT in addition to POST as some REST
  APIs use that.

  Factor the boundary checking code into a helper and use it from
  both Post() and Put().

* test/test.cc

  add test cases for the above.
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

Successfully merging this pull request may close these issues.

2 participants