I am currently developing a web application that returns a .pkpass file during a meta refresh.
The code works perfectly on all browsers apart from Chrome on an iOS device.
From what I can see, Chrome (for some strange reason) sends two get requests to the URL one after another. The first is as expected with all session data included and returns the .pkpass file. The second is a completely blank request with null values. My application then returns a html error page that Chrome attempts to open as a pkpass file and fails.
The issue is not with the meta refresh as I have removed it completely, implemented a simple tag and a href to the URL. This has the same effect.
Can anyone explain why this only occurs on Chrome?
Thanks!
(P.S) Id love to be able to debug Chrome on the iOS device but it doesn't seem possible?
Aucun commentaire:
Enregistrer un commentaire