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

Return 201 for message acceptance #1443

Closed jrconlin closed 3 years ago

jrconlin commented 4 years ago

Per report from user,

201 is a message accept, and 202 should only be used for delivery receipt.

We should revert https://github.com/mozilla-services/autopush/pull/1428 and correct return behavior.

(NOTE: This will also need to be checked on autopush-rs before going live.)

jrconlin commented 3 years ago

Note, the python version will not support Pushes with Receipts. The rust version will need to provide that function when it is deployed in replacement. See https://github.com/mozilla-services/autopush-rs/issues/244