Skip to content

Inconsistent default Content-Type #184

Closed
@tailhook

Description

When body is string or bytes object the aiohttp sets default content type to application/octed-stream, but when body is StreamReader or coroutine or other kind of stream the Content-Type is not touched.

I believe automatic Content-Type should not be set. But in case it has to, it should at least be consistent.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions