gecko-dev/content/base/test/file_XHR_header.sjs

7 строки
198 B
JavaScript

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