tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
908 stars 187 forks source link

Pass Service missing last modified header #76

Closed Maarco73 closed 6 years ago

Maarco73 commented 6 years ago

Pass Service returned "log": {"logs":["[2018-01-10 11:59:51 +0100] Web service error for xxxxx (xxxxx: Server returned the pass data for serial number 'xxxx' but did not provide a 'last-modified' header."]}

I fixed this by adding: header("Last-Modified: ".gmdate("D, d M Y H:i:s", time())." GMT"); after line 318 (where all te header() stuff is)

tschoffelen commented 6 years ago

Thanks, I'll implement this into the code!

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.