Flowdock
method

create_env_table

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: DispatchServlet
create_env_table(req, origin) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/webrick_server.rb, line 124
    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
Register or log in to add new notes.