To some poor souls out there, if you encounter "406 Not Acceptable" error when uploading file with Uploadify on IE, Firefox, or Chrome on Windows, you may want to remove or replace the respond_to block, if you can.
From what I can figure out, those Windows browsers send text/* as the HTTP_ACCEPT header, while on Linux, it sends */*. I suspect this is caused by different behavior of Flash on different OS and the header from Windows is considered invalid by Rails.
1 comments:
Thanks a bunch, this fixed an error I was having in my app =)
Post a Comment