Skip to content

Commit

Permalink
Merge pull request #663 from Shellu/master
Browse files Browse the repository at this point in the history
Added HTTP 308 support
  • Loading branch information
asvetlov committed Dec 7, 2015
2 parents 5a14880 + 04c96bc commit cd0420e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aiohttp/web_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
'HTTPNotModified',
'HTTPUseProxy',
'HTTPTemporaryRedirect',
'HTTPPermanentRedirect',
'HTTPClientError',
'HTTPBadRequest',
'HTTPUnauthorized',
Expand Down Expand Up @@ -171,6 +172,10 @@ class HTTPTemporaryRedirect(_HTTPMove):
status_code = 307


class HTTPPermanentRedirect(_HTTPMove):
status_code = 308


############################################################
# 4xx client error
############################################################
Expand Down

0 comments on commit cd0420e

Please sign in to comment.