Body of IncomingMessage is json-encoded, not Python encoded

2019-08-17
Marnanel Thurman 2019-05-29 10:55:55 +01:00
rodzic bb2685476a
commit 47e0a58a22
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -315,7 +315,7 @@ class InboxView(django.views.View):
path = request.path,
signature = request.META['HTTP_SIGNATURE'],
content_type = request.META['CONTENT_TYPE'],
body = str(decoded_body)
body = json.dumps(decoded_body),
)
capture.save()
logger.debug('%s: received %s with headers %s at %s -- now validating',