1 Dec 2011 9:33 AM #1
Files uploading & Webkit
I Have a problem with files uploading in webkit-based browsers (e.g. chrome, safari). Firefox does not have such error.
If I upload a file, in console I can see that I receive a response from the server, but my responseText is empty.
Week ago we find that if we change server's header content-type from application/json to the text/html then all works.
But now this isn't helping.
Something tells me that this console message is associated with this bug:
But here we have a request via the same protocol to the same domain and port, why Chrome/Safari gives such error?
1 Dec 2011 10:43 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I haven't had such problems and Chrome is my primary browser. Anything different you are doing in the form/field?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
2 Dec 2011 3:24 AM #3
OK, we'll take a look at our code and let you know