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


I create a simple single threaded web server that I am embedded in my application in QT C ++ - this The server is responding correctly to the simple html page, but when I try to react with the embedded Flash file inside html then all the html string is printed in the browser. I have a question that What header and http responses let me save the flash Content in the browser - Thanks

content type The header SWF file should be set to application / x-shockwave-flash . Otherwise the browser will not understand the file type and will present it for download.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -