Duplicate headers received from server

前端 未结 5 489
难免孤独
难免孤独 2020-12-04 08:07

Duplicate headers received from server

The response from the server contained duplicate headers. This problem is generally the result of a misconfigured

5条回答
  •  长情又很酷
    2020-12-04 08:49

    The server SHOULD put double quotes around the filename, as mentioned by @cusman and @Touko in their replies.

    For example:

    Response.AddHeader("Content-Disposition", "attachment;filename=\"" + filename + "\"");
    

提交回复
热议问题