Uses of content-disposition in an HTTP response header

后端 未结 6 459
旧巷少年郎
旧巷少年郎 2020-11-22 11:09

I have found the following asp.net code to be very useful when serving files from a database:

Response.AppendHeader(\"content-disposition\", \"attachment; fi         


        
6条回答
  •  醉酒成梦
    2020-11-22 12:07

    Refer to RFC 6266 (Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP)) http://tools.ietf.org/html/rfc6266

提交回复
热议问题