Revision 8fbfd37b pithos/api/public.py
b/pithos/api/public.py | ||
---|---|---|
34 | 34 |
import logging |
35 | 35 |
|
36 | 36 |
from django.http import HttpResponse |
37 |
from django.views.decorators.csrf import csrf_exempt |
|
37 | 38 |
|
38 | 39 |
from pithos.api.faults import (Fault, BadRequest, ItemNotFound) |
39 | 40 |
from pithos.api.util import (put_object_headers, update_manifest_meta, |
... | ... | |
45 | 46 |
logger = logging.getLogger(__name__) |
46 | 47 |
|
47 | 48 |
|
49 |
@csrf_exempt |
|
48 | 50 |
def public_demux(request, v_public): |
49 | 51 |
if request.method == 'HEAD': |
50 | 52 |
return public_meta(request, v_public) |
Also available in: Unified diff