Skip to content

Commit

Permalink
Merge pull request #17 from st3fan/patch-1
Browse files Browse the repository at this point in the history
Add more status codes to APNS_RESPONSE_CODE
  • Loading branch information
Fatal1ty authored Jul 31, 2020
2 parents 5731788 + e3b047a commit fa142e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions aioapns/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,11 @@ def destroy(self, exc):

class APNS_RESPONSE_CODE:
SUCCESS = '200'
BAD_REQUEST = '400'
FORBIDDEN = '403'
METHOD_NOT_ALLOWED = '405'
GONE = '410'
PAYLOAD_TOO_LARGE = '413'
TOO_MANY_REQUESTS = '429'
INTERNAL_SERVER_ERROR = '500'
SERVICE_UNAVAILABLE = '503'

0 comments on commit fa142e9

Please sign in to comment.