Uses of content-disposition in an HTTP response header

后端 未结 6 544
旧巷少年郎
旧巷少年郎 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 11:51

    This header is defined in RFC 2183, so that would be the best place to start reading.

    Permitted values are those registered with the Internet Assigned Numbers Authority (IANA); their registry of values should be seen as the definitive source.

提交回复
热议问题