mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9 lines
337 B
JavaScript
9 lines
337 B
JavaScript
function handleRequest(request, response) {
|
|
response.setHeader("Content-Type", "text/plain", false);
|
|
response.setHeader("Cache-Control", "no-cache", false);
|
|
|
|
var value = request.hasHeader("SomeHeader") ? request.getHeader("SomeHeader")
|
|
: "";
|
|
response.write("SomeHeader: " + value);
|
|
}
|