gecko-dev/dom/xhr/tests/file_XHR_header.sjs

7 строки
198 B
Plaintext
Исходник Обычный вид История

// SJS file for getAllResponseRequests vs getResponseRequest
function handleRequest(request, response)
{
response.setHeader("X-Custom-Header-Bytes", "…", false);
response.write("42");
}