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 ThanksThe 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.
精彩评论