gecko-dev/dom/browser-element/mochitest/file_download_bin.sjs
2014-06-09 10:51:25 -07:00

4 lines
143 B
JavaScript

function handleRequest(request, response) {
response.setHeader("Content-Type", "application/octet-stream", false);
response.write("BIN");
}