Skip to content

Exceptions were being thrown when responseText had no value #26

merged 1 commit into from Jul 22, 2011

2 participants


I was recently hacking with Node.js, and I was returning status code 204 without a body (as per the spec), and this caused errors in reqwest.

Instead of trying to sniff out the status codes, I figured that a checking responseText was a simpler solution.

I also fixed a bug with JSON.parse never being used.

@ded ded merged commit 294d28d into ded:master Jul 22, 2011
ded commented Jul 22, 2011

excellent. when i get a chance i'll push it back to npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.