ó
ZËTc           @   s“   d  Z  d d l Z d d l Td e f d „  ƒ  YZ d e e j j f d „  ƒ  YZ d e e j j f d	 „  ƒ  YZ d
 e e j j f d „  ƒ  YZ d S(   sd   http exceptions for TurboGears

TurboGears http exceptions are inherited from WebOb http exceptions
iÿÿÿÿN(   t   *t   _HTTPMoveLazyLocationc           B   s   e  Z d  Z d „  Z RS(   s
   
    
    c         O   sI   y t  | d ƒ | d <Wn t k
 r+ n Xt t |  ƒ j | | Ž  d  S(   Nt   location(   t   strt   KeyErrort   superR   t   __init__(   t   selft   argst   kw(    (    sk   /afs/athena.mit.edu/user/x/a/xavid/lib/python2.7/site-packages/TurboGears2-2.3.3-py2.7.egg/tg/exceptions.pyR      s
    (   t   __name__t
   __module__t   __doc__R   (    (    (    sk   /afs/athena.mit.edu/user/x/a/xavid/lib/python2.7/site-packages/TurboGears2-2.3.3-py2.7.egg/tg/exceptions.pyR   	   s   t   HTTPMovedPermanentlyc           B   s   e  Z d  Z RS(   sC  
    subclass of :class:`webob.exc.HTTPMovedPermanently` with
    support for lazy strings as location.

    This indicates that the requested resource has been assigned a new
    permanent URI and any future references to this resource SHOULD use
    one of the returned URIs.

    code: 301, title: Moved Permanently
    (   R
   R   R   (    (    (    sk   /afs/athena.mit.edu/user/x/a/xavid/lib/python2.7/site-packages/TurboGears2-2.3.3-py2.7.egg/tg/exceptions.pyR      s   
t	   HTTPFoundc           B   s   e  Z d  Z RS(   sÝ   
    subclass of :class:`webob.exc.HTTPFound` with
    support for lazy strings as location.

    This indicates that the requested resource resides temporarily under
    a different URI.

    code: 302, title: Found
    (   R
   R   R   (    (    (    sk   /afs/athena.mit.edu/user/x/a/xavid/lib/python2.7/site-packages/TurboGears2-2.3.3-py2.7.egg/tg/exceptions.pyR   "   s   	t   HTTPTemporaryRedirectc           B   s   e  Z d  Z RS(   sX  
    subclass of :class:`webob.exc.HTTPTemporaryRedirect` with
    support for lazy strings as location.

    This indicates that if the client has performed a conditional GET
    request and access is allowed, but the document has not been
    modified, the server SHOULD respond with this status code.

    code: 304, title: Not Modified
    (   R
   R   R   (    (    (    sk   /afs/athena.mit.edu/user/x/a/xavid/lib/python2.7/site-packages/TurboGears2-2.3.3-py2.7.egg/tg/exceptions.pyR   .   s   
(	   R   t   webobt	   webob.exct   objectR   t   excR   R   R   (    (    (    sk   /afs/athena.mit.edu/user/x/a/xavid/lib/python2.7/site-packages/TurboGears2-2.3.3-py2.7.egg/tg/exceptions.pyt   <module>   s   
