class Net::HTTPResponse

def begin_reading_body_hacked(sock, reqmethodallowbody)

def begin_reading_body_hacked(sock, reqmethodallowbody)
  @socket = sock
  @body_exist = reqmethodallowbody && self.class.body_permitted?
end