'defer rawResp.Body.Close()' now after error checking