Python Paste


Filter

Class that implements WSGI output-filtering middleware


Attributes

a decode_unicode

False

a filter_content_types

('text/html',)

a format

None

a output_encoding

'utf8'

a format_output

None

a conditional_headers

['HTTP_IF_MODIFIED_SINCE', 'HTTP_IF_NONE_MATCH']

Methods

f __init__(self, app) ...

f __call__(self, environ, start_response) ...

f paste_deploy_middleware(cls, app, global_conf, **app_conf) ...

f should_filter(self, status, headers, exc_info) ...

f filter_output(self, environ, start_response, status, headers, app_iter) ...

f filter(self, environ, headers, data) ...

See the source for more information.