mozilla-services / autopush

Python Web Push Server used by Mozilla
https://autopush.readthedocs.io/
Mozilla Public License 2.0
219 stars 30 forks source link

Add TTL to outbound APNS bridge messages. #1029

Closed jrconlin closed 7 years ago

jrconlin commented 7 years ago

APNS allows TTLs now, we should mirror them to APNS.

(see "apns-expiration" header on https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html )

jrconlin commented 7 years ago

d'oh, already present in apns2.py