-
-
Notifications
You must be signed in to change notification settings - Fork 967
Open
Labels
enhancementgood first issueComment on this issue if you'd like to volunteer to work on this. Thanks!Comment on this issue if you'd like to volunteer to work on this. Thanks!needs contributorComment on this issue if you'd like to volunteer to work on this. Thanks!Comment on this issue if you'd like to volunteer to work on this. Thanks!
Milestone
Description
Add new method req.get_param_as_media()
(or req.get_param_as_content()
more in line with OpenAPI spec, but I think get_param_as_media()
is more consistent with the rest of the framework).
This new method would be similar to req.get_param_as_json()
, however it would also accept a content_type (str) argument instead of just defaulting to JSON.
req.get_param_as_json()
could then become a thin wrapper around the new method.
TBD whether the content_type argument would be required, or could be None
, and default to the application's default content type.
Metadata
Metadata
Assignees
Labels
enhancementgood first issueComment on this issue if you'd like to volunteer to work on this. Thanks!Comment on this issue if you'd like to volunteer to work on this. Thanks!needs contributorComment on this issue if you'd like to volunteer to work on this. Thanks!Comment on this issue if you'd like to volunteer to work on this. Thanks!