edgedb-python icon indicating copy to clipboard operation
edgedb-python copied to clipboard

fastapi: support dual JSON and WWW form

Open fantix opened this issue 7 months ago • 0 comments

  • The request body is handled depending on the Content-Type header in the request.
  • If no Content-Type header is found, the first type in utils.OneOf() will be assumed.
  • If the Content-Type doesn't match any of the utils.OneOf() types, the route won't match (and you'll likely get a 404)

image

fantix avatar Jun 14 '25 22:06 fantix