setResponseHeader method
Implementation
void setResponseHeader(HttpRequest request, String key, String value) {
request.response.headers.add(key, value, preserveHeaderCase: true);
}
void setResponseHeader(HttpRequest request, String key, String value) {
request.response.headers.add(key, value, preserveHeaderCase: true);
}