Django Book 翻译
菜单>:
TOC
返回
原文:
* The response gets an additional ``Content-Disposition`` header, which contains the name of the CSV file. This header (well, the attachment part) will instruct the browser to prompt for a location to save the file (instead of just displaying it). This file name is arbitrary; call it whatever you want. It will be used by browsers in the Save As dialog.
翻译:
* 响应会有一个附加的 ``Content-Disposition`` 头部,它包含有CSV文件的文件名。这个头部(或者说,附加部分)会指示浏览器弹出对话框询问文件存放的位置(而不仅仅是显示)。这个文件名是任意的,它会用在浏览器的另存为对话框中。
备注:
译者: