ios6 - what is differences between If-Modified-Since and lastUpdated in passbook web service reference -
i doing server updating pass in passbook. can register , unregister server. next, have serial of pass , latest version of pass when pass updated. differences between if-modified-since , lastupdated ? don't know how them ? database or else ?
if-modified-since
http header send .pkpass bundle. if not distribute pass web server, passbook web service should send in response "get latest version of pass" request.
lastupdated
tag store in database indicates when .pkpass bundle last changed.
both of these should match same point in time. convention send if-modified-since
header rfc 1123 formatted date , store lastupdated
tag timestamp, although fould acceptable store formatted date.
Comments
Post a Comment