|
|
@@ -55,7 +55,7 @@ def secure_transport(view_func):
|
|
|
|
|
|
raw_response = view_func(dec_request, *args, **kwargs)
|
|
|
|
|
|
- content = raw_response.content
|
|
|
+ content = json.dumps({'data': raw_response.content.decode('utf-8')})
|
|
|
padding = 16 - len(content) % 16
|
|
|
content += bytes([padding] * padding)
|
|
|
print(content)
|