# File lib/protocols/httpclient.rb, line 246
246:   def dispatch_response
247:     @read_state = :base
248:     set_deferred_status :succeeded, {
249:       :content => @content,
250:       :headers => @headers,
251:       :status => @status
252:     }
253:     # TODO, we close the connection for now, but this is wrong for persistent clients.
254:     close_connection
255:   end