Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make server success code match webpush #25

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

karmanyaahm
Copy link
Member

Changing 202 to 201 is a very insignificant change since 2xx is required to be accepted (and most webpush implementations accept 2xx anyway UnifiedPush/wishlist#15 (comment))

However, it is a minor way in which UnifiedPush can be similar to WebPush and could matter to pickier implementations. 201 is required in webpush. https://datatracker.ietf.org/doc/html/rfc8030#section-5

Changing 202 to 201 is a very insignificant change since 2xx is required to be accepted (and most webpush implementations accept 2xx anyway UnifiedPush/wishlist#15 (comment))

However, it is a minor way in which UnifiedPush can be similar to WebPush and could matter to pickier implementations. 201 is required in webpush. https://datatracker.ietf.org/doc/html/rfc8030#section-5
@p1gp1g p1gp1g merged commit 62c0a5d into UnifiedPush:main Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants