Revision 83cfc13b snf-astakos-app/astakos/oa2/backends/base.py
b/snf-astakos-app/astakos/oa2/backends/base.py | ||
---|---|---|
54 | 54 |
params[uenc(k)] = uenc(params.pop(k)) |
55 | 55 |
return urllib.urlencode(params) |
56 | 56 |
|
57 |
|
|
57 | 58 |
def normalize(url): |
58 | 59 |
return urltools.normalize(uenc(url)) |
59 | 60 |
|
61 |
|
|
60 | 62 |
def handles_oa2_requests(func): |
61 | 63 |
def wrapper(self, *args, **kwargs): |
62 | 64 |
if not self._errors_to_http: |
... | ... | |
531 | 533 |
|
532 | 534 |
client_credentials = None |
533 | 535 |
try: # check authorization header |
534 |
client_credentials = self._get_authorization(params, meta,
|
|
535 |
authorization_required=False)
|
|
536 |
client_credentials = self._get_authorization( |
|
537 |
params, meta, authorization_required=False)
|
|
536 | 538 |
except: |
537 | 539 |
pass |
538 | 540 |
else: |
Also available in: Unified diff