开发者

which header do i need to send to browser when responding with flash file

i build ed simple single threaded web server that i embedded to my application in Qt c++

开发者_C百科 this server are responding fine with simple html pages , but when i try to response with

flash file embedded inside the html all the html string just got printed to the browser

my question is what headers and http responses do i need to unable me to serve flash content to the browser

Thanks


The Content-Type header for SWF file should be set to application/x-shockwave-flash. Otherwise browser won't understand the file type and present it for downloading.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜