# File lib/protocols/httpclient.rb, line 229
229:   def dispatch_response
230:     @read_state = :base
231:     set_deferred_status :succeeded, {
232:       :content => @content,
233:       :headers => @headers,
234:       :status => @status
235:     }
236:     # TODO, we close the connection for now, but this is wrong for persistent clients.
237:     close_connection
238:   end