← Back
Editing: lint.cpython-311.pyc
� ��b�6 � �l � d Z ddlZddlmZ ddlmZ ddlmZ ddl m Z ddlmZ dd l mZ ej rdd lmZ ddlmZ ddlmZ G d � de� � Z G d� de� � Zefdededej ddfd�Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � ZdS ) a� WSGI Protocol Linter ==================== This module provides a middleware that performs sanity checks on the behavior of the WSGI server and application. It checks that the :pep:`3333` WSGI spec is properly implemented. It also warns on some common HTTP errors such as non-empty responses for 304 status codes. .. autoclass:: LintMiddleware :copyright: 2007 Pallets :license: BSD-3-Clause � N)� TracebackType)�urlparse)�warn� )�Headers)�is_entity_header)�FileWrapper)� StartResponse)�WSGIApplication)�WSGIEnvironmentc � � e Zd ZdZdS )�WSGIWarningz Warning class for WSGI warnings.N��__name__� __module__�__qualname__�__doc__� � �:/usr/lib/python3/dist-packages/werkzeug/middleware/lint.pyr r � � � � � � �*�*�*�*r r c � � e Zd ZdZdS )�HTTPWarningz Warning class for HTTP warnings.Nr r r r r r "