rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Foggy on April 14, 2008, 03:47:22 PM

Title: content-type
Post by: Foggy on April 14, 2008, 03:47:22 PM
Im trying to create a flash file that loads a file from my hfs, but on every attempt I get this error

Quote
Error: [strict] Ignoring policy file at http://foggy.dnip.net/crossdomain.xml due to bad Content-Type 'application/octet-stream'.  See http://www.adobe.com/go/strict_policy_files to fix this problem.

I have gone to the site specified and it says that a content-type of application/xml needs to be sent. I am guessing that content-type is the same as mime types?

Anyway I tried adding a mime type for xml files but it hasnt worked, I still get the error.
Title: Re: content-type
Post by: rejetto on April 16, 2008, 12:33:59 AM
so, what's the problem, isn't the mime/content-type transmitted correctly by HFS?
if you are unsure you can use a sniffer or something.
Title: Re: content-type
Post by: Foggy on April 16, 2008, 02:16:07 AM
yeah after I changed it, it wasnt transmitting correctly but after a restart it worked fine.