Content-Disposition with 302 redirect
问题 This was working last night, but I must have accidentally changed something, because it isn't now. What I am trying to do should be clear from these headers: Content-Disposition: attachment;filename=english_customizable.xml Location: http://tortoisewrath.com/files/2.xml However, when this header is sent, the Content-Disposition part doesn't work after the redirect. ...Why? 回答1: What you're trying to do is inadvisable check this question; Header Location + Content Disposition Content