-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Don't log a warning on content-type: multipart/* responses #1665
Conversation
d56dfa0
to
3748059
Compare
Codecov Report
@@ Coverage Diff @@
## master #1665 +/- ##
==========================================
- Coverage 99.75% 99.35% -0.41%
==========================================
Files 22 22
Lines 2006 2000 -6
==========================================
- Hits 2001 1987 -14
- Misses 5 13 +8
Continue to review full report at Codecov.
|
1109bb4
to
18fd8a8
Compare
Hello @pquentin , wanted to see if you had time to look over this. The goal of this is to remove the warnings, and wanted to see if there were concerns going down this route. |
@badcure Thank you for putting this pull request together! It's easy to read, and the change does make sense. However, I don't know enough about header parsing to reason about possible issues (eg. security) so I'm not going to merge this myself, sorry. :( |
Hi @pquentin, who is the right person to review and accept this pull request? It has been sitting dormant for a while so I just want to check this hasn't been forgotten. |
@sethmlarson Any ideas? |
Sorry that this took so long, I've done the following:
@pquentin @hodbn could one of you review my changes to this PR? |
This is to address the multipart errors that are showing up in urllib. The real fix is upstream, but the goal is to remove the false warnings that are showing up as described in #800 .
If the exceptions show up, I am simply removing them from the list. The exceptions would only apply if it is processing the body as well. In the urllib3 code path, it only cares about the headers at that point.
Closes #800