Windows Push Notification service (WNS) returns the wrong status code for rate limiting #3501
Labels
area-Notifications
Toast notification, badges, Live Tiles, push notifications
bug
Something isn't working
Describe the bug
From your docs:
This is plain wrong and against the standard. You MUST return
429 Too Many Requests
for rate limiting.Returning 406 breaks various web push libraries and services, that don't handle the response properly.
For example: zaru/webpush#103
Steps to reproduce the bug
Send many web push messages in parallel to Edge / WNS.
Expected behavior
Return HTTP status 429 for rate limiting.
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: