Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ffi): annotate body in raw body branch
If the content type was not otherwise handled, `OptionalBody::from(&str)` was used. This sets the content type associated with the body to `None` irrespective of the content type passed through to `process_body`. This fixes the issue by ensuring the `OptionalBody::Present` is created with the appropriate content type. Signed-off-by: JP-Ellis <[email protected]>
- Loading branch information