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