python-messaging icon indicating copy to clipboard operation
python-messaging copied to clipboard

Expiry encoder

Open ekahn27 opened this issue 6 years ago • 0 comments

The "encode_expiry_value" method encodes an integer representing the number of seconds for the MMS expiry header. It uses the relative format for expiry (how much time should pass before the MMS expires) rather than the absolute expiry (a specific date and time to expire). The key "Expiry" is added to the headers dictionary with a default value of 3600 secs.

ekahn27 avatar Aug 16 '19 18:08 ekahn27