-
Notifications
You must be signed in to change notification settings - Fork 876
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
correct curl is not translated to Python code #66
Comments
Debugging info for me:
Reproduce exception:
Curl payload for this command:
Calling querystring.parse in the browser makes a call to decodeURIComponent which throws that exception when it encounters an error. I assume that curl is more tolerant or doesn't try to parse the parameters. Gotta dig into it. Edit: I guess we don't really need to parse query strings at all for GET requests. We can just preserve the url. |
I like parsing query strings as it helps when the true output is for humans (i.e. for reverse engineering something). I have a notion why the caveat is needed because of possible differences, and if parsing fails, just fall back on literally copying the querystring into the URL, but +1 for parsing if possible! |
PR #233 fixed the issue. |
Duplicate of #143 |
I get a parsing error with this curl command:
The text was updated successfully, but these errors were encountered: