Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complain about status code before content type.
GitHub currently returns 500 errors as HTML. When we encountered this, the error message referred to the content type rather than the status code. Now we check the status code first, so errors are more informative. Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
- Loading branch information