Neoarttec
01-07-2006, 01:46 AM
Thought you might be interested to know about a bug in Flash that I've
discovered. After wasting many hours. :mad:
The Flash upload changes the file type headers on the http transfer. The
images arrive sure enough. But I couldn't figure out why my script was
rejecting the images. Unitl I notice that it sends the files as a
"application/octet-stream" instead of a "image/jpeg" for instance. That is
very nasty for your serverside scripts which are expecting a certain type of
file, but Flash changes the headers. :(
http://www.guildmedia.net
discovered. After wasting many hours. :mad:
The Flash upload changes the file type headers on the http transfer. The
images arrive sure enough. But I couldn't figure out why my script was
rejecting the images. Unitl I notice that it sends the files as a
"application/octet-stream" instead of a "image/jpeg" for instance. That is
very nasty for your serverside scripts which are expecting a certain type of
file, but Flash changes the headers. :(
http://www.guildmedia.net