• Drew Bailey's avatar
    Remove response body from websocket error · 03a4f59a
    Drew Bailey authored
    If a websocket connection errors we currently return the error with a
    copy of the response body. The response body from the websocket can
    often times be completely illegible so remove it from the error string.
    
    make alloc id empty for more reliable failure
    
    un-gzip if content encoding header present
    03a4f59a