Closed
Description
Description
When sending a message to an endpoint registered by Firefox on Android an exception is incorrectly thrown.
Reproduction Steps
Using Firefox on Android (tested with 131.0.3), register for push notifications.
Send a push notification to the registered endpoint.
Expected behavior
The mesage is received and no exception occurs.
Actual behavior
The mesage is received but a PushServiceClientException is thrown with no Body and a HttpStatusCode of OK (200)
Possibly cause
It seems the below line, should check for either HttpStatusCode.Created or HttpStatusCode.OK before throwing an exception.