-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Milestone
Description
class Rack::Defaults
def initialize(app, **options)
@app = app
@options = options
end
attr :options
def call(env)
env.merge!(@options)
@app.call(env)
end
endAnd:
- Documentation/standards for all the currently "global configurations" that we have.
- Changes to code to use these configuration values where possible.
Notable Cases
- Multipart parser / configuration.
- Query string parser / configuration.
- Handling of IP addresses and forwarded headers.
- ... please edit and add more ...
Metadata
Metadata
Assignees
Labels
No labels