posted 13 years ago
this is a bit of browser dependent. you can use the GET request to retrieve a resource such a zip file. your browser automatically detects this and would prompt you with a Save As... dialog. This is however depends on the format of the file you are downloading. For plain files like txt files, your browser might try to display it rather than prompting you with a dialog.