You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this bug while making a DELETE request to my django-livesync enabled backend powered by django-rest-framework.
Here's a trace:
Traceback (most recent call last):
File ".../django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File ".../livesync/core/middleware.py", line 12, in __call__
return self.process_response(request, response)
File ".../livesync/core/middleware.py", line 16, in process_response
if settings.DEBUG and 'text/html' in response['Content-Type']:
File ".../django/http/response.py", line 144, in __getitem__
return self._headers[header.lower()][1]
KeyError: 'content-type'
Someone already fixed it in a fork: src-r-r@55555f6. Would be great to see the fix in the npm package.
The text was updated successfully, but these errors were encountered:
I ran into this bug while making a DELETE request to my django-livesync enabled backend powered by django-rest-framework.
Here's a trace:
Someone already fixed it in a fork: src-r-r@55555f6. Would be great to see the fix in the npm package.
The text was updated successfully, but these errors were encountered: