What problems may using the MIME type application/json cause?

后端 未结 3 1986
不知归路
不知归路 2020-12-21 06:10

I am working on a web service the needs to return JSON data. I read that I should use application/json but am not sure what problems this may cause?

For example, w

3条回答
  •  遥遥无期
    2020-12-21 06:20

    Let's consider IE. Say you have a hidden iFrame which you use to request a file download. For example