Setup uploaded filename if field value is binary and transfer encoding is not specified#349
Setup uploaded filename if field value is binary and transfer encoding is not specified#349
Conversation
…g is not specified
|
-0 I worry that May be, instead, make things more explicit? For instance, by specifying |
|
We need either fix current behavior (for passing +1 for adding more explicit API for data sending but we need fix the current behavior first anyway. |
|
Ah, ok with the fix then. |
Setup uploaded filename if field value is binary and transfer encoding is not specified
I have stuck again with subtle bug in aiohttp file uploading.
On call:
body is sent as textual url-encoded string, which is unexpected.
I guess to assume the binary field value which sent without Transfer-Encoding is file body, filename is the same as field name if not specified.
requestslibrary does the same, BTW.Patch is attached.