The requests module contains classes pertaining to creating various types of objects to handle HTTP requests.
The StatusCodes class contains constants pertaining to HTTP status codes.
The file not found status code.
The found status code.
The internal server error status code.
The moved permanently status code.
The OK status code.
The InternalServerErrorPage is displayed in the event that an internal server error is encountered during processing. It provides the ability to display the encountered error to the user.
Check that all the required properties are defined.
Define the list of error codes which will display this page.
The Header class provides the ability to create a specific HTTP header.
Create a content type header.
Get the ID for this header.
Get the operating system from the given headers.
Get the value for this header.
Create a JSON content type header.
Create a location header.
Create an text/html content type header.
The BaseRequestHandler class provides the basic functionality that is shared among all HTTP request handlers.
Initialize the request handler.
Log an error message.
The pageClasses property contains the list of Page classes which this request handler is able to provide. The request handler will be able to return requests based on the configured list of URLs for each page, as well as any supported error codes each Page defines.