1 // Custom *.sjs file specifically for the needs of Bug 1286861
5 "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12" +
6 "P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==");
8 function getSniffableContent(selector){
11 return `<?xml version="1.0"?><test/>`;
13 return `<!Doctype html> <html> <head></head> <body> Test test </body></html>`;
15 return `*{ color: pink !important; }`;
17 return `{ 'test':'yes' }`;
21 return "Basic UTF-8 Text";
24 function handleRequest(request, response)
26 // avoid confusing cache behaviors
27 response.setHeader('X-Content-Type-Options', 'nosniff'); // Disable Sniffing
28 response.setHeader("Content-Type","*/*"); // Try Browser to force sniffing.
29 response.write(getSniffableContent(request.queryString));