In short:
add_header Content-Disposition 'attachment; filename="foo.txt"';
We’re just adding a Content-Disposition
header in the response.
You can specify the file name, here we’re using foo.txt
.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |