File manager - Edit - /opt/imh-python/lib/python2.7/site-packages/werkzeug/contrib/lint.pyc
Back
� �[�Rc @ s d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d e f d � � YZ d d � Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( s� werkzeug.contrib.lint ~~~~~~~~~~~~~~~~~~~~~ .. versionadded:: 0.5 This module provides a middleware that performs sanity checks of the WSGI application. It checks that :pep:`333` is properly implemented and warns on some common HTTP errors such as non-empty responses for 304 status codes. This module provides a middleware, the :class:`LintMiddleware`. Wrap your application with it and it will warn about common problems with WSGI and HTTP while your application is running. It's strongly recommended to use it during development. :copyright: (c) 2014 by the Werkzeug Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. i����( t urlparse( t warn( t Headers( t is_entity_header( t FileWrapper( t string_typest WSGIWarningc B s e Z d Z RS( s Warning class for WSGI warnings.( t __name__t __module__t __doc__( ( ( sD /opt/imh-python/lib/python2.7/site-packages/werkzeug/contrib/lint.pyR s t HTTPWarningc B s e Z d Z RS( s Warning class for HTTP warnings.( R R R ( ( ( sD /opt/imh-python/lib/python2.7/site-packages/werkzeug/contrib/lint.pyR # s i c C s9 t | � t k r5 t t d | | j j f � � n d S( Ns %s requires bytestrings, got %s( t typet strR R t __class__R ( t contextt objt stacklevel( ( sD /opt/imh-python/lib/python2.7/site-packages/werkzeug/contrib/lint.pyt check_string'