Fixed parsing response if response body is empty