You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
Hmm weird. I never used send_file so I never hit this. I think the only thing that changes response is Cookie strategy's response callback [1], so this might be a good place to start debugging. Pull requests are welcome, especially with specs that cover the change ;)
@app.call on a rails app returns an ActionDispatch::Response as the body. Mobvious::Manager was creating a new Rack::Response, and the Rack::Response constructor was clobbering the body.
I've fixed it and written an extra spec. Please accept my pull request, and thankyou for writing Mobvious!
Looks like there was heavy discussion on #2 but in the end no fix could be found? I just found Mobvious but if it still breaks send_file, I'd be unable to use it in my project.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The middleware Mobvious::Manager breaks send_file on rails for some reason. I don't yet know why, but the line
breaks send_file in my app, and commenting it out fixes it.
The text was updated successfully, but these errors were encountered: