-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
AttributeError: 'tuple' object has no attribute 'encode' #78
Comments
We're also experiencing the same issue since the |
Assuming this is a |
We're having the same error with connexion. Seems to be introduced by this change. |
To catch anyone up to speed on the issue, this is related to MIME parameters and how they get parsed using the
Python's Here's a potential fix with a unit test for the case: #79 If anyone has any questions about the bug or the fix, let me know. |
|
1 similar comment
|
++ |
I get an error when sending a request from a C# client library stemming from the
parse_options_header
. This error only started cropping up in 0.0.7 and did not exist beforehand.Here's some sample code to reproduce the error
With python-multipart==0.0.7:
Output:
With python-multipart==0.0.6, the output is:
I believe a fix in
parse_options_header
could be (multpart.py:111-112
):The text was updated successfully, but these errors were encountered: