-
Notifications
You must be signed in to change notification settings - Fork 183
Fix issue #64 Uncaptured exception instead of 400 when receiving non-ascii bytes in request url #162
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
Conversation
…I'm clueless about what the right thing to do is.
Could you make sure to read and sign CONTRIBUTORS.txt please? |
Sorry, I didn't notice that file. I've added my name now. May I suggest creating a |
We can't wait for this to be merged and made available :-) Thank you @Flimm ! |
Sorry, I must have missed this PR being updated in the long list of work related PR's. Will check later tonight and most likely cut a new release! |
No worries! Thank you very very much @bertjwregeer ! |
Thanks @Flimm! @gregsadetsky thanks for commenting on this! |
I took the existing
fix.issue64
branch, rebased it, and added a new commit. This is a fix for #64.This makes the new test pass in both Python 2 and 3. It doesn't matter that Python 2 doesn't raise a ParsingError, all that matters is that the connection isn't closed abruptly, and the test verifies that that remains the case for both Python 2 and Python 3.