Http.headers

Gets the header manager of the request/response. The available methods are the same of the associative array's except that keys are case-insensitive.

class Http
Headers headers;

Examples

headers["Connection"] = "keep-alive";
assert(headers["connection"] == "keep-alive");

Meta