There's no documentation for this item.
Source Code
# File webrick_server.rb, line 111 def handle_dispatch(req, res, origin = nil) #:nodoc: data = StringIO.new Dispatcher.dispatch( CGI.new("query", create_env_table(req, origin), StringIO.new(req.body || "")), ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS, data ) header, body = extract_header_and_body(data) set_charset(header) assign_status(res, header) res.cookies.concat(header.delete('set-cookie') || []) header.each { |key, val| res[key] = val.join(", ") } res.body = body return true rescue => err p err, err.backtrace return false end
<code/>and<pre/>for code samples.