We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i want to use a rack middleware application-level to inject things into the response.
# apps/web/application.rb middleware.use(Class.new do def initialize app @app = app end def call env status, headers, body = @app.call env byebug [ status, headers, body ] end end)
but body is empty ([]). why is that? what am i doing wrong?
body
[]
it works on project-level, btw.
The text was updated successfully, but these errors were encountered:
@glaszig I can't reproduce the bug. I just tried locally with your code and it works. Can you please create a dummy app to reproduce it? Thanks.
Sorry, something went wrong.
jodosha
No branches or pull requests
i want to use a rack middleware application-level to inject things into the response.
but
body
is empty ([]
). why is that? what am i doing wrong?it works on project-level, btw.
The text was updated successfully, but these errors were encountered: