Hi, lately I've noticed I get this error when I try to upload an image with my Android app to my server (using LiteSpeed) using Android HttpPost, it all worked fine until a few weeks ago when my host made some updates. If I change the server to my local one on my PC it works perfectly (using Apache on xampp though), I only get the error with my host. I did try to packet sniff my app to see what it is sending exactly, and comparing it with the browser (firefox) the data looks a bit different and seems to be sent differently (note that the file upload works fine from a browser, it just doesn't work anymore from my Android app).
This is how it looks like when it is sent from my app: http://justpaste.it/mi11
This is how it looks like when it is sent from a browser (firefox, and it works fine): http://justpaste.it/mi1c
Even though it's a little different it should still work fine as it did until now, this seems like a security thing which may be blocking my app thinking its doing something bad. I would change my app's code if I could, but this is a standard way to send a file over http on Android..
Can you guys please help me? This is a big problem for me and I need to fix it asap.. The error log only says 500 error, nothing else.
Thanks!
This is how it looks like when it is sent from my app: http://justpaste.it/mi11
This is how it looks like when it is sent from a browser (firefox, and it works fine): http://justpaste.it/mi1c
Even though it's a little different it should still work fine as it did until now, this seems like a security thing which may be blocking my app thinking its doing something bad. I would change my app's code if I could, but this is a standard way to send a file over http on Android..
Can you guys please help me? This is a big problem for me and I need to fix it asap.. The error log only says 500 error, nothing else.
Thanks!
Last edited: