Expand description
HTTP response helpers.
Functions§
- Create a response for when the server denied the request.
- Create a text/plain response for not allowed hosts.
- Create a response for json internal error.
- Create a json response for empty or malformed requests (400)
- Create a text/plain response for disallowed method used.
- Create a valid JSON response.
- Create a json response for oversized requests (413)
- Create a response for when the server is busy and can’t accept more requests.
- Create a response for unsupported content type.