trim whitespace off of the raw response.  This way the response is truly empty if it only contains whitespace.