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

fix(apns): adding proper handling of the too large message payload #348

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

geekbrother
Copy link
Contributor

Description

This PR adds proper handling of the APNS PayloadTooLarge error response by responding HTTP 400 Bad Request with the error description instead of HTTP 500 Internal Server Error.

How Has This Been Tested?

Not tested.

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@geekbrother geekbrother self-assigned this Nov 13, 2024
@arein arein added the accepted The issue has been accepted into the project label Nov 13, 2024
Copy link
Member

@chris13524 chris13524 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from fix/handle_invalid_provider_token to main November 15, 2024 10:42
@geekbrother geekbrother merged commit b17db53 into main Nov 15, 2024
6 checks passed
@geekbrother geekbrother deleted the fix/handle_payload_too_large branch November 15, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The issue has been accepted into the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants