Revision a0177bc5 pithos/api/functions.py
b/pithos/api/functions.py | ||
---|---|---|
118 | 118 |
response = HttpResponse(status=204) |
119 | 119 |
inv_auth_tokens = dict((v, k) for k, v in settings.AUTH_TOKENS.items()) |
120 | 120 |
response['X-Auth-Token'] = inv_auth_tokens.get(x_auth_user, '0000') |
121 |
response['X-Storage-Url'] = os.path.join(request.build_absolute_uri(), 'demo') |
|
121 |
response['X-Storage-Url'] = os.path.join(request.build_absolute_uri(), |
|
122 |
x_auth_user) |
|
122 | 123 |
return response |
123 | 124 |
|
124 | 125 |
@api_method('HEAD') |
Also available in: Unified diff