- 360安全卫士2012-09-09论坛元老23620
- Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, public
- Connection: Keep-Alive
- Content-Disposition: attachment; filename=myfilename.jpg
- Content-Encoding: gzip
- Content-Length: 20
- Content-Type: text/html; charset=utf-8
- Date: Mon, 27 Feb 2012 01:01:22 GMT
- Expires: Thu, 19 Nov 1981 08:52:00 GMT
- Keep-Alive: timeout=5, max=100
- Location: /uploads/2012/123_hash_timestamp.jpg
- Server: *
- Vary: Accept-Encoding
- X-Powered-By: *
- X-UA-Compatible: IE=Edge,chrome=1复制代码302过去后文件下载,仍然是123_hash_timestamp.jpg作为名称。
302是必需要的,若能以指定的Content-Disposition命名最好不过,若不能就。。。。