Downloading files via HTTP is not performed on iOS 8.0.0. GM Safari

UPDATE:
Confirmed: This has been fixed in the iOS 8.0.2 update .

Using PUT / POST to upload files via HTTP seems to get stuck in the headers of sending requests on mobile Safari on the iOS 8 GM build.

I have an example here :

  • Open the HTTP monitor on your desktop and route your iOS 8 device through it
  • entrance
  • to add a file
  • Hit download
  • It gets stuck on initialization (which sends request headers)

In this case, even at http://m.facebook.com
- Try to add a photo to your status and it won’t work.

This only happens when the request contains a file. This is reproducible regardless of the fact that several disconnected / disconnected are included in the input file. Loads work in Chrome on iOS 8.

Has anyone else experienced this? Is there a way to successfully send files via HTTP on iOS 8 Safari?

+43
safari ios mobile-safari ios8
Sep 11 '14 at 15:00
source share
4 answers

This was a bug in iOS 8.0.0 and was fixed in 8.0.2. The file body is not included in the request payload, but the Content-Length set as if it were.

See the blog post Uploading files to Safari on iOS 8 .

+22
Sep 19 '14 at 13:06 on
source

Update: Yesterday, Apple released iOS 8.0.2 and fixed a download error.

File upload is broken in iOS 8.0. All files uploaded to Mobile Safari return a 0-size [1].

Hope this will be fixed by Apple in the next release. It doesn't seem to affect the web pages on the home screen, though:

File upload broken! Each file download does not work, you can select a file or take a picture, and after that JavaScript will not receive any data, as well as the server when loading POST via HTML or XMLHttpRequest. The problem does not seem to apply to web screens on the home screen.

Source: http://www.mobilexweb.com/blog/safari-ios8-iphone6-web-developers-designers

[1] http://blog.fineuploader.com/2014/09/10/ios8-presents-serious-issues-that-prevent-file-uploading/

+10
Sep 18 '14 at 2:09
source

We see similar issues in WordPress. All iOS8 GM downloads result in 408 (http status, timeouts). Oddly enough, iOS8b5 led to a 500 error. Downloaded files are peach up to 7.1. *.

https://core.trac.wordpress.org/ticket/29602#comment:17

+6
Sep 12 '14 at 13:48
source

In fact, downloading the file works fine on iOS 8 (safari) if the image comes from a screenshot, and not from the iphone camera. For example, if you take a photo from a camera on an iphone and try to upload a file through a browser (input type = file), it will send empty data
src: "data:",

while if you send the same image to your email address and upload it from your email and upload it again, it will work or if you take a screenshot it will work as below the DSM: "data: image / JPEG; base64, / 9J / 4AAQSkZJRgABAQAASABIAAD / 7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs + EJ + / 8AAEQgGYATIAwEiAAIRAQMRAf / EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkK .... # ... "

Any idea or hint, please, we know. Angloar JS is used to upload files and NodeJS to the server Regards, Alan Mexico

0
Jan 25 '15 at 10:40
source



All Articles