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

Improved how multipart messages work #358

Merged
merged 3 commits into from
Mar 11, 2022
Merged

Conversation

The-EDev
Copy link
Member

  • Part headers are now in a map rather than a vector
  • Added get_part_by_name()
  • Parts and headers can be cast to integer or double (returns the value)
  • Added a boundary to the default content-type (gets set to the request's boundary if constructed from a request)

Closes #312

part headers are now in a map rather than a vector
added `get_part_by_name()`
parts and headers can be cast to integer or double (returns the value)
added a boundary to the default content-type (gets set to the request's
boundary if constructed from a request)
The-EDev added a commit that referenced this pull request Mar 10, 2022
also added unit tests for #358
@The-EDev The-EDev mentioned this pull request Mar 10, 2022
include/crow/multipart.h Outdated Show resolved Hide resolved
@The-EDev The-EDev merged commit 293ed2c into master Mar 11, 2022
@The-EDev The-EDev deleted the multipart_improvements branch March 30, 2022 12:42
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.

Support for extracting named parameters from multipart/form-data
2 participants