Revision 06e7d2f0
b/snf-pithos-app/pithos/api/functions.py | ||
---|---|---|
956 | 956 |
return response |
957 | 957 |
|
958 | 958 |
request.serialization = 'text' # Unset. |
959 |
response.override_serialization = True |
|
960 | 959 |
return object_data_response(request, sizes, hashmaps, meta) |
961 | 960 |
|
962 | 961 |
|
b/snf-pithos-app/pithos/api/util.py | ||
---|---|---|
921 | 921 |
boundary = '' |
922 | 922 |
wrapper = ObjectWrapper(request.backend, ranges, sizes, hashmaps, boundary) |
923 | 923 |
response = HttpResponse(wrapper, status=ret) |
924 |
response.override_serialization = True |
|
924 | 925 |
put_object_headers( |
925 | 926 |
response, meta, restricted=public, |
926 | 927 |
token=getattr(request, 'token', None)) |
Also available in: Unified diff