<s> import falcon <EOL> from falcon . http_status import HTTPStatus <EOL> class HTTPMovedPermanently ( HTTPStatus ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , location ) : <EOL> super ( HTTPMovedPermanently , self ) . __init__ ( <EOL> falcon . HTTP_301 , { '<STR_LIT:location>' : location } ) <EOL> class HTTPFound ( HTTPStatus ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , location ) : <EOL> super ( HTTPFound , self ) . __init__ ( <EOL> falcon . HTTP_302 , { '<STR_LIT:location>' : location } ) <EOL> class HTTPSeeOther ( HTTPStatus ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , location ) : <EOL> super ( HTTPSeeOther , self ) . __init__ ( <EOL> falcon . HTTP_303 , { '<STR_LIT:location>' : location } ) <EOL> class HTTPTemporaryRedirect ( HTTPStatus ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , location ) : <EOL> super ( HTTPTemporaryRedirect , self ) . __init__ ( <EOL> falcon . HTTP_307 , { '<STR_LIT:location>' : location } ) <EOL> class HTTPPermanentRedirect ( HTTPStatus ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , location ) : <EOL> super ( HTTPPermanentRedirect , self ) . __init__ ( <EOL> falcon . HTTP_308 , { '<STR_LIT:location>' : location } ) </s>
