5.3.2 http

The aspen.handlers.http module provides three handlers:

HTTP400( environ, start_response)
Responds to every request with 400 Bad Request.

HTTP403( environ, start_response)
Responds to every request with 403 Forbidden.

HTTP404( environ, start_response)
Responds to every request with 404 Not Found.

HTTP500( environ, start_response)
Responds to every request with 500 Internal Server Error.

Aspen is copyright © 2006-2007 by Chad Whitacre and contributors, and is offered under the MIT license.