Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
The underlying proxy should passthrough errors and not self terminate responses #1036
The proxy currently terminates failed requests with its own response logic involving a 500 status code and arbitrary HTML.
This prevents the user agent (browser) from potentially retrying failed requests (which is what it does under the hood).
The proxy should instead transparently pass these through and not add its own termination logic in the event of an error. That will then "mimic" what happens without involving the proxy.