private Method

DispatchServlet.create_env_table(req, origin)

There's no documentation for this item.

Source Code

# File webrick_server.rb, line 133
def create_env_table(req, origin)
  env = req.meta_vars.clone
  env.delete "SCRIPT_NAME"
  env["QUERY_STRING"] = req.request_uri.query
  env["REQUEST_URI"]  = origin if origin
  return env
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.