« Previous | Next » 

Revision a421e0b9

IDa421e0b9fdc8e4e9d98ae08bef0bd9c66f015a20

Added by Sofia Papagiannaki about 8 years ago

pithos: Update view_method decorator

  • If no token found in the cookie redirect to astakos login
    with next parameter pointing to the request path
  • Extend the list of the valid response statuses
  • If no expected response status is received, pass to the raised
    exception the response status instead of the whole response.

Conflicts:
snf-pithos-app/pithos/api/settings.py
snf-pithos-app/pithos/api/util.py

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences