Skip to content

MultipartWriter does not support binary content encoding #1168

@AleksandrIakhnev

Description

@AleksandrIakhnev

Long story short

There is no support of binary encoding in MultipartWriter
Some services require binary encoding. Seems that easy to implement with just returning unprocessed chunks.

Expected behaviour

Supported binary encoding

Actual behaviour

Not implemented encoding
https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/multipart.py#L858

Steps to reproduce

Specify header 'Content-Transfer-Encoding' to 'binary' in MultiPartWriter

Metadata

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