class
v5.2.3 - 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