You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@capacitor/android: not installed
@capacitor/cli: 6.2.0
@capacitor/ios: 6.2.0
@capacitor/core: 6.2.0
[success] iOS looking great! 👌
Other API Details
npm 10.8.2
node v22.8.0
Platforms Affected
iOS
Android
Web
Current Behavior
On ios, a http fetch of an .mp3 file, or certain other media files, produces a result with http status 0, when it should be 200.
Expected Behavior
a successful fetch of an http resource should produce http result 200 (excepting certain other operations, like range requests that return status 206. But never 0.)
It appears to me that the problem was introduced with commit 348c08d to WebViewAssetHandler.swift. WIth that change, a request for a mp3 (or other known media types) produces the result from class URLResponse instead of its subclass HTTPURLResponse. URLResponse does not include the "statusCode" property.
The text was updated successfully, but these errors were encountered:
Capacitor Version
Latest Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Installed Dependencies:
@capacitor/android: not installed
@capacitor/cli: 6.2.0
@capacitor/ios: 6.2.0
@capacitor/core: 6.2.0
[success] iOS looking great! 👌
Other API Details
Platforms Affected
Current Behavior
On ios, a http fetch of an .mp3 file, or certain other media files, produces a result with http status 0, when it should be 200.
Expected Behavior
a successful fetch of an http resource should produce http result 200 (excepting certain other operations, like range requests that return status 206. But never 0.)
Project Reproduction
https://github.com/leotohill/TestFetchMedia.git
Additional Information
It appears to me that the problem was introduced with commit 348c08d to WebViewAssetHandler.swift. WIth that change, a request for a mp3 (or other known media types) produces the result from class URLResponse instead of its subclass HTTPURLResponse. URLResponse does not include the "statusCode" property.
The text was updated successfully, but these errors were encountered: