Skip to content

Use http_response.content_type when creating the response, or document that this field is not used in the conversion #252

Closed

Description

@axelsrz

The HttpResponse.content_type field is not being used when converting to aiohttp response. If the HttpResponse has a non-default content type, it won't be respected in the actual HTTP response. Consider using http_response.content_type when creating the response, or document that this field is not used in the conversion.

Originally posted by @Copilot in #221 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions