ethanent / phin

Node HTTP client
MIT License
576 stars 33 forks source link

Fixed an error that occurs when the response is empty. #17

Closed yfujisawa-gladd closed 6 years ago

yfujisawa-gladd commented 6 years ago

Fixed an error that occurs when the response is empty.

JSON.parse('');
->Error: Unexpected end of JSON input