marceltschoppch / django-requests-debug-toolbar

A Django Debug Toolbar panel for Requests
MIT License
5 stars 1 forks source link

Error when opening the tab #3

Open maziar-dandc opened 1 year ago

maziar-dandc commented 1 year ago

Raises an exception while trying to render the template Python 3.9, Django 3.2

File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 894, in content
  raise RuntimeError("The content for this response was already consumed")
marceltschoppch commented 1 year ago

Hi @maziar-dandc I cannot reproduce your issue. Can you provide an example or more information your use case?

maziar-dandc commented 1 year ago

Hi thanks for looking into it,

Little bit of a complex project, we use django-storages to store files and I was trying to get your plugin working in DDT to see the storage API calls, not sure if that's even possible or not based on the fact that Azure might be implementing it's own HTTP library to make those calls.

Don't think I'll be able to make a repo to reproduce it right now, but I will try to and get back to you. It might be that some kind of monkey-patching from a random other package might've caused this error.