Revision 3248f20a snf-pithos-app/pithos/api/util.py
b/snf-pithos-app/pithos/api/util.py | ||
---|---|---|
1089 | 1089 |
try: |
1090 | 1090 |
# Add a PithosBackend as attribute of the request object |
1091 | 1091 |
request.backend = get_backend() |
1092 |
request.backend.lock_container_path = lock_container_path |
|
1093 |
request.backend.pre_exec() |
|
1092 |
request.backend.pre_exec(lock_container_path) |
|
1094 | 1093 |
|
1095 | 1094 |
# Many API method expect thet X-Auth-Token in request,token |
1096 | 1095 |
request.token = request.x_auth_token |
Also available in: Unified diff