-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rack 2.0 #1
Rack 2.0 #1
Conversation
@sshaw |
remove sendfile and its autoload
Oh. Can't believe I missed that. Thanks. I've updated my branch/PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question about the test case change
app = Rack::MethodOverride.new(middleware) | ||
req = app.call(form_post("foo=1&foo=0")).last | ||
req.POST.must_equal({"foo" => '1'}) | ||
req.POST.must_equal({"foo" => "0"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a subtle and potentially dangerous change - why are changing our the test cases to accommodate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This behavior will change with 2.0. See this issue (and maybe this too). A deprecation warning was added to v1.8.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sshaw makes sense - thanks for the documentation
No description provided.