gecko/content/base/test/file_XHR_header.sjs

7 lines
198 B
JavaScript

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