Sha256: b08f4c5c773685080d328cb27a8912868c1d385a75f3c9003dc290c8042e4061

Contents?: true

Size: 326 Bytes

Versions: 15

Compression:

Stored size: 326 Bytes

Contents

module Rack::App::RequestConfigurator

  extend self

  def configure(env)
    path_info(env)
    env
  end

  protected

  def path_info(env)
    path_info = env[::Rack::PATH_INFO]
    env[::Rack::App::Constants::ORIGINAL_PATH_INFO]= path_info
    env[::Rack::PATH_INFO]= Rack::App::Utils.normalize_path(path_info)
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rack-app-5.0.0.rc1 lib/rack/app/request_configurator.rb
rack-app-4.0.1 lib/rack/app/request_configurator.rb
rack-app-3.6.0 lib/rack/app/request_configurator.rb
rack-app-3.5.2 lib/rack/app/request_configurator.rb
rack-app-3.5.1 lib/rack/app/request_configurator.rb
rack-app-3.5.0 lib/rack/app/request_configurator.rb
rack-app-3.4.0 lib/rack/app/request_configurator.rb
rack-app-3.3.0 lib/rack/app/request_configurator.rb
rack-app-3.2.1 lib/rack/app/request_configurator.rb
rack-app-3.2.0 lib/rack/app/request_configurator.rb
rack-app-3.1.0 lib/rack/app/request_configurator.rb
rack-app-3.0.0 lib/rack/app/request_configurator.rb
rack-app-3.0.0.delta lib/rack/app/request_configurator.rb
rack-app-3.0.0.gamma lib/rack/app/request_configurator.rb
rack-app-3.0.0.beta lib/rack/app/request_configurator.rb