- Notifications
You must be signed in to change notification settings - Fork 604
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Description
- If the user returns an instance of
starlette.response
, send that through unmodified - If the user returns a
string
orbytes
, send that through to the user, and do not set themedia_type
header - Otherwise attempt to encode as JSON using the default
json
package, and set the "application/json" media type header
The error message if encoding fails should list the user's three options.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request