Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
tests: Check Content-Type header returned from RPC server #7833
Check the Content-Type header that is returned from the RPC server. Only if it is
This gives better reporting if the HTTP server happens to return an error that is not JSON-formatted, which is the case if it happens at a lower level before JSON-RPC kicks in.