tags:

views:

29

answers:

1

hello all i build ed simple single threaded web server that i embedded to my application in Qt 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

A: 

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.

Amarghosh