phonegap / phonegap-plugin-contentsync

Download and cache remotely hosted content
Apache License 2.0
206 stars 98 forks source link

Issue #142: [iOS] Incorrect MIME Types #143

Closed jcf120 closed 7 years ago

jcf120 commented 7 years ago

Fixes #142

Most files served from ContentSync's 'localPath' had a MIME Type of application/octet-stream under iOS 10. Surprisingly the only problematic effect I've seen from this so far is that svg graphics weren't drawing.

Also the anti-caching headers weren't being set if the existing Accept header was missing.

DhiaNHM commented 7 years ago

just confirming this fix worked for our broken SVG's on IOS10, any ETA on this being pulled into a release?

timkim commented 7 years ago

Hi @DhiaNHM

I've merged this in, but if you're using the PhoneGap Developer App expect to see a release sometime this week.