aws-observability / aws-rum-web

Amazon CloudWatch RUM Web Client
Apache License 2.0
114 stars 65 forks source link

fix: keep alive when dispatch fails with 401 #551

Closed williazz closed 1 month ago

williazz commented 1 month ago

When dispatch fails with 401, then RUM should keep alive.

RUM backend does not respond with 401 so this is change is not relevant for standard setups. However, some users have setup proxy servers with valid use cases.

For example https://github.com/aws-observability/aws-rum-web/pull/524#issuecomment-2097987765


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ps863 commented 1 month ago

LGTM