class
ActionDispatch::Response::FileBody
v7.1.3.4 -
Show latest stable
- Superclass: Object
Avoid having to pass an open file handle as the response body. Rack::Sendfile will usually intercept the response and uses the path directly, so there is no reason to open the file.
Attributes
| [R] | to_path |
Files
- actionpack/lib/action_dispatch/http/response.rb