Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upClean up error response detection #559
Conversation
This is more explicit than just checking the first digit and would still throw an exception if the status code was 20 or 2000 (obviously invalid), for example.
This is more explicit than just checking the first digit and would still throw an exception if the status code was 20 or 2000 (obviously invalid), for example.