-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor files handling. #20
Comments
@asvetlov @popravich @kxepal does anyone use files uploading? |
I have to, but not yet started implementation of required bits. As far as I can see 359f6e8 changes, this refactoring removes one required feature for me: handling both data and multiple files to organize multipart/mixed request, when both data and multiple files are specified and each has own Content-Type. I was hope to reuse data and files arguments to implement required wrapper. I'll make prototype to check my worries about later today and'll provide feedback then if you don't mind. |
with new code you can mix parameters and files, something like that:
|
Sweet! |
@fafhrd91 I and @popravich didn't use file uploading yet. |
@kxepal you also can construct aiohttp.FormData object and pass it as request data |
Right now it is not possible to use file object as
data
parameter for client requestThe text was updated successfully, but these errors were encountered: