OpenQuizz
Une application de gestion des contenus pédagogiques
werkzeug.middleware.lint Namespace Reference

Data Structures

class  ErrorStream
 
class  GuardedIterator
 
class  GuardedWrite
 
class  HTTPWarning
 
class  InputStream
 
class  LintMiddleware
 
class  WSGIWarning
 

Functions

def check_string (context, obj, stacklevel=3)
 

Detailed Description

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

Function Documentation

◆ check_string()

def werkzeug.middleware.lint.check_string (   context,
  obj,
  stacklevel = 3 
)