django-debug-toolbar-requests
django-debug-toolbar-requests copied to clipboard
Signature of requests.get is broken.
We can't use
requests.get("http://api.linkpreview.net/", {"key": key, "q": url})
anymore.
Hi @proofit404 , could you explain it more, please? What it means that it is broken? What it doing?
https://github.com/requests/requests/blob/b0ad2499c8641d29affc90f565e6628d333d2a96/requests/api.py#L63
The issue is that you can't use params as a positional argument after your monkey patches.
So code which works with requests doesn't work with your toolbar extension.
Oh you're right. I'll fix it. Thank you for report