paste.debug.debugapp – debug app

Various Applications for Debugging/Testing Purposes

Module Contents

class paste.debug.debugapp.SimpleApplication

Produces a simple web page

class paste.debug.debugapp.SlowConsumer(chunk_size=4096, delay=1, progress=True)

Consumes an upload slowly…

NOTE: This should use the iterator form of wsgi.input,

but it isn’t implemented in paste.httpserver.

paste.debug.debugapp.make_test_app(global_conf)

Produces a simple web page

paste.debug.debugapp.make_slow_app(global_conf, chunk_size=4096, delay=1, progress=True)

Consumes an upload slowly…

NOTE: This should use the iterator form of wsgi.input,

but it isn’t implemented in paste.httpserver.