1. 03 3月, 2010 1 次提交
  2. 24 2月, 2010 2 次提交
    • C
      Revert "Fix test load paths for those not using bundler" · 24ab5665
      Carlhuda 提交于
      This reverts commit eec2d301.
      
      This commit broke tests. You cannot have a file called "bundler" on the load path.
      24ab5665
    • C
      Makes send_file work again by deferring to Rack::Sendfile. · 5e2bd080
      Carlhuda 提交于
        * Add the Rack::Sendfile middleware
        * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). 
        * Add Railties tests to confirm that these work
        * Remove the :stream, :buffer_size, and :x_senfile default options to send_file
        * Change the log subscriber to always say "Sent file"
        * Add deprecation warnings for options that are now no-ops
      
      Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
      5e2bd080
  3. 17 2月, 2010 1 次提交
  4. 16 2月, 2010 1 次提交
  5. 06 2月, 2010 1 次提交
  6. 01 2月, 2010 1 次提交
  7. 21 1月, 2010 3 次提交
  8. 19 1月, 2010 1 次提交
  9. 17 1月, 2010 1 次提交
  10. 15 1月, 2010 1 次提交
  11. 14 1月, 2010 1 次提交
  12. 13 1月, 2010 3 次提交