Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Constrained device and payload length #748

@Minishlink

Description

@Minishlink

Hi,

A user of web-push-libs/web-push-php#62 had got the error 104-413 "Payload too large", because the library automatically pad the payload to the max length specified in the draft (4096 bytes), for security intents. This is not a standard behavior (5th paragraph).
If there are indeed restrictions (is it really the case though?), I feel the service worker should at least receive an empty data push event, or a push event with truncated data.

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