-
-
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
client: posting multipart-formdata and integer #920
Comments
@asvetlov Let me rethink for MultipartWriter works, may be we can make it more friendly. |
Exception in |
Thanks a lot. but some frameworks trying to convert the given value to str |
@pylover With other types there is more or less same story. And if we add support of one Python base type, why not to add the rest? But how? For now we expect value as |
@kxepal do you have a time for refactoring or prefer to close the issue without a fix? |
@asvetlov Yes, I do, will take care about this. |
Thanks a lot. |
@kxepal any news? |
@kxepal, Currently i completely agree with you, so i think the python's |
@pylover You mean apply |
@kxepal , Yes, but applying an IOC mechanism to allow users to register their own preferred callable as serializer is usefull |
@pylover |
@kxepal , What about using I think the |
@pylover Yes, |
I don't get your meaning from previous comment: 'parallel......'. Why backend should accept such thing? And please mention a real world example to demonstrate the problem |
@pylover |
@kxepal , So, raising |
@pylover We already have TypeError for that case - a bit more specific. |
@kxepal , Yes, you are true. You can replace it to ValueError, to tell the user to serialize their data. Or wathever you want. At all, i prefer to stringify whatever received. |
Thank's a lot |
the multipart-formdata is not working with integer values, i spend many times to find-out what is the problem:
Actual behaviour
Steps to reproduce
My environment
os: Ubuntu 14.04
python 3.5.1
aiohttp: master: f180199
The text was updated successfully, but these errors were encountered: