General tidy up
This commit is contained in:
parent
fec81fc6ea
commit
18cb0bce54
6 changed files with 118 additions and 114 deletions
|
|
@ -574,7 +574,12 @@ class SNSResponse(BaseResponse):
|
|||
error_response = self._error('NotFound', 'Topic does not exist')
|
||||
return error_response, dict(status=404)
|
||||
|
||||
# Added other parts here for when they are needed
|
||||
# Once Tokens are stored by the `subscribe` endpoint and distributed
|
||||
# to the client somehow, then we can check validity of tokens
|
||||
# presented to this method. The following code works, all thats
|
||||
# needed is to perform a token check and assign that value to the
|
||||
# `already_subscribed` variable.
|
||||
#
|
||||
# token = self._get_param('Token')
|
||||
# auth = self._get_param('AuthenticateOnUnsubscribe')
|
||||
# if already_subscribed:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue