class Faraday::Env

def clear_body

Sets content length to zero and the body to the empty string.
def clear_body
  request_headers[ContentLength] = '0'
  self.body = +''
end