Gets the value of a header and returns defaultValue if it does not exist.
assert(headers.get("Connection", "close") == "close"); headers["Connection"] = "keep-alive"; assert(headers.get("Connection", "close") != "close");
See Implementation
Gets the value of a header and returns defaultValue if it does not exist.