|
Daraja HTTP Framework 3.5.0-SNAPSHOT
HTTP server framework for Object Pascal
|
Variables | |
| const | HTTP_BAD_REQUEST = 400 |
| const | HTTP_INTERNAL_SERVER_ERROR = 500 |
| const | HTTP_NOT_HANDLED = -1 |
| Sentinel ResponseNo meaning "no handler has produced a response yet". | |
| const | HTTP_OK = 200 |
| const HTTP_BAD_REQUEST = 400 |
| const HTTP_INTERNAL_SERVER_ERROR = 500 |
| const HTTP_NOT_HANDLED = -1 |
Sentinel ResponseNo meaning "no handler has produced a response yet".
This is not an Indy value: TdjHTTPConnector.OnCommand sets Response.ResponseNo to it before dispatching a request, so that TdjHandlerList and TdjDefaultHandler can tell whether an earlier handler already handled the request.
| const HTTP_OK = 200 |