Skip to content

202 HTTP response causes WebPushException  #71

Closed
@samfromlv

Description

@samfromlv

Recently we observed that some calls to send push messages using Mozilla push service fail with WebPushException and status code 202.

Endpoint address starts with https://updates.push.services.mozilla.com/wpush/v2/....

According to specification https://tools.ietf.org/html/draft-ietf-webpush-protocol-12 HTTP status code 202 is valid response from endpoint.

According to Mozilla documentation https://autopush.readthedocs.io/en/latest/http.html#calls HTTP status code 202 is returned when "Message stored for delivery to client at a later time."

Expected behavior is not to throw WebPushException on 202 HTTP status in send push message response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions