Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bad Origin header in the dev proxy
We found that our service, at `/api/rhsm-subscriptions/v1` was rejecting requests made by the dev proxy due to a bad `Origin` header. I discovered it is because the proxy generates an `Origin` value with a trailing slash. This change strips the trailing slash. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
- Loading branch information