module Rack::Utils

def escape_path(s)

true URI escaping.
Like URI escaping, but with %20 instead of +. Strictly speaking this is
def escape_path(s)
  ::URI::DEFAULT_PARSER.escape s
end