An exception that can be thrown while handling an HTTP request, to indicate that the server should return a specified response code, usually when you want to short-circuit due to an error.
Common "Content-Type" header values.
An enum defining all valid HTTP response statuses: See here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
The response that's sent by a server back to a client after processing the client's HTTP request.
A struct containing basic information about a response status.
Defines the HTTP response structure and associated types that are generally used when formulating a response to a client's request.