-
Notifications
You must be signed in to change notification settings - Fork 74
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
Allowing other content types for json #441
Comments
Thanks for filing the issue. Would the parsing of content with |
honestly not entirely sure, but in my use case I would assume they're the same |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
looking through the code,
dropshot/dropshot/src/handler.rs
Lines 1018 to 1026 in 5063b8d
application/json
aren't supportedmy use case is I'm trying reimplement an AWS api where the client uses a
application/x-amz-json-1.0
header for json so being able to have a route take a custom json content type would be usefuledit: as a work around I think I could skip parsing the body as json, but then I'd lose the fancy open api stuff
The text was updated successfully, but these errors were encountered: