Changeset 204
- Timestamp:
- 12/17/04 17:19:05 (4 years ago)
- Files:
-
- tags/rel_0-9-1 (copied) (copied from trunk)
- tags/rel_0-9-1/actionmailer/CHANGELOG (copied) (copied from trunk/actionmailer/CHANGELOG)
- tags/rel_0-9-1/actionmailer/lib/action_mailer/base.rb (copied) (copied from trunk/actionmailer/lib/action_mailer/base.rb)
- tags/rel_0-9-1/actionmailer/Rakefile (copied) (copied from trunk/actionmailer/Rakefile)
- tags/rel_0-9-1/actionpack (copied) (copied from trunk/actionpack)
- tags/rel_0-9-1/actionpack/CHANGELOG (copied) (copied from trunk/actionpack/CHANGELOG)
- tags/rel_0-9-1/actionpack/lib/action_controller/base.rb (copied) (copied from trunk/actionpack/lib/action_controller/base.rb) (2 diffs)
- tags/rel_0-9-1/actionpack/lib/action_controller/cookies.rb (copied) (copied from trunk/actionpack/lib/action_controller/cookies.rb)
- tags/rel_0-9-1/actionpack/lib/action_controller/dependencies.rb (copied) (copied from trunk/actionpack/lib/action_controller/dependencies.rb)
- tags/rel_0-9-1/actionpack/lib/action_controller/helpers.rb (copied) (copied from trunk/actionpack/lib/action_controller/helpers.rb)
- tags/rel_0-9-1/actionpack/lib/action_controller/layout.rb (copied) (copied from trunk/actionpack/lib/action_controller/layout.rb)
- tags/rel_0-9-1/actionpack/lib/action_controller/rescue.rb (copied) (copied from trunk/actionpack/lib/action_controller/rescue.rb)
- tags/rel_0-9-1/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml (copied) (copied from trunk/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml)
- tags/rel_0-9-1/actionpack/lib/action_controller/test_process.rb (copied) (copied from trunk/actionpack/lib/action_controller/test_process.rb)
- tags/rel_0-9-1/actionpack/lib/action_view.rb (copied) (copied from trunk/actionpack/lib/action_view.rb)
- tags/rel_0-9-1/actionpack/lib/action_view/base.rb (copied) (copied from trunk/actionpack/lib/action_view/base.rb)
- tags/rel_0-9-1/actionpack/lib/action_view/helpers/active_record_helper.rb (copied) (copied from trunk/actionpack/lib/action_view/helpers/active_record_helper.rb)
- tags/rel_0-9-1/actionpack/lib/action_view/helpers/date_helper.rb (copied) (copied from trunk/actionpack/lib/action_view/helpers/date_helper.rb)
- tags/rel_0-9-1/actionpack/lib/action_view/helpers/form_helper.rb (copied) (copied from trunk/actionpack/lib/action_view/helpers/form_helper.rb)
- tags/rel_0-9-1/actionpack/lib/action_view/helpers/form_options_helper.rb (copied) (copied from trunk/actionpack/lib/action_view/helpers/form_options_helper.rb)
- tags/rel_0-9-1/actionpack/lib/action_view/helpers/tag_helper.rb (copied) (copied from trunk/actionpack/lib/action_view/helpers/tag_helper.rb)
- tags/rel_0-9-1/actionpack/lib/action_view/helpers/url_helper.rb (copied) (copied from trunk/actionpack/lib/action_view/helpers/url_helper.rb)
- tags/rel_0-9-1/actionpack/Rakefile (copied) (copied from trunk/actionpack/Rakefile)
- tags/rel_0-9-1/actionpack/test/template/date_helper_test.rb (copied) (copied from trunk/actionpack/test/template/date_helper_test.rb)
- tags/rel_0-9-1/actionpack/test/template/form_helper_test.rb (copied) (copied from trunk/actionpack/test/template/form_helper_test.rb)
- tags/rel_0-9-1/activerecord (copied) (copied from trunk/activerecord)
- tags/rel_0-9-1/activerecord/CHANGELOG (copied) (copied from trunk/activerecord/CHANGELOG)
- tags/rel_0-9-1/activerecord/lib/active_record/acts/list.rb (copied) (copied from trunk/activerecord/lib/active_record/acts/list.rb)
- tags/rel_0-9-1/activerecord/lib/active_record/validations.rb (copied) (copied from trunk/activerecord/lib/active_record/validations.rb)
- tags/rel_0-9-1/activerecord/Rakefile (copied) (copied from trunk/activerecord/Rakefile)
- tags/rel_0-9-1/railties (copied) (copied from trunk/railties)
- tags/rel_0-9-1/railties/bin/breakpointer (copied) (copied from trunk/railties/bin/breakpointer)
- tags/rel_0-9-1/railties/bin/breakpointer_for_gem (copied) (copied from trunk/railties/bin/breakpointer_for_gem)
- tags/rel_0-9-1/railties/bin/console (copied) (copied from trunk/railties/bin/console)
- tags/rel_0-9-1/railties/bin/generate (copied) (copied from trunk/railties/bin/generate)
- tags/rel_0-9-1/railties/bin/rails (copied) (copied from trunk/railties/bin/rails)
- tags/rel_0-9-1/railties/bin/server (copied) (copied from trunk/railties/bin/server)
- tags/rel_0-9-1/railties/CHANGELOG (copied) (copied from trunk/railties/CHANGELOG)
- tags/rel_0-9-1/railties/configs/apache.conf (copied) (copied from trunk/railties/configs/apache.conf)
- tags/rel_0-9-1/railties/dispatches/dispatch.fcgi (copied) (copied from trunk/railties/dispatches/dispatch.fcgi)
- tags/rel_0-9-1/railties/dispatches/dispatch.rb (copied) (copied from trunk/railties/dispatches/dispatch.rb)
- tags/rel_0-9-1/railties/doc/index.html (copied) (copied from trunk/railties/doc/index.html)
- tags/rel_0-9-1/railties/environments/development.rb (copied) (copied from trunk/railties/environments/development.rb)
- tags/rel_0-9-1/railties/fresh_rakefile (copied) (copied from trunk/railties/fresh_rakefile)
- tags/rel_0-9-1/railties/generators/controller (copied) (copied from trunk/railties/generators/controller)
- tags/rel_0-9-1/railties/generators/controller/templates/controller.rb (copied) (copied from trunk/railties/generators/controller/templates/controller.rb)
- tags/rel_0-9-1/railties/generators/controller/USAGE (copied) (copied from trunk/railties/generators/controller/USAGE)
- tags/rel_0-9-1/railties/generators/mailer (copied) (copied from trunk/railties/generators/mailer)
- tags/rel_0-9-1/railties/generators/mailer/templates/fixture.rhtml (copied) (copied from trunk/railties/generators/mailer/templates/fixture.rhtml)
- tags/rel_0-9-1/railties/generators/mailer/templates/mailer.rb (copied) (copied from trunk/railties/generators/mailer/templates/mailer.rb)
- tags/rel_0-9-1/railties/generators/mailer/templates/unit_test.rb (copied) (copied from trunk/railties/generators/mailer/templates/unit_test.rb)
- tags/rel_0-9-1/railties/generators/mailer/USAGE (copied) (copied from trunk/railties/generators/mailer/USAGE)
- tags/rel_0-9-1/railties/generators/model (copied) (copied from trunk/railties/generators/model)
- tags/rel_0-9-1/railties/generators/model/templates/unit_test.rb (copied) (copied from trunk/railties/generators/model/templates/unit_test.rb)
- tags/rel_0-9-1/railties/generators/model/USAGE (copied) (copied from trunk/railties/generators/model/USAGE)
- tags/rel_0-9-1/railties/generators/scaffold (copied) (copied from trunk/railties/generators/scaffold)
- tags/rel_0-9-1/railties/generators/scaffold/templates/controller.rb (copied) (copied from trunk/railties/generators/scaffold/templates/controller.rb)
- tags/rel_0-9-1/railties/generators/scaffold/templates/functional_test.rb (copied) (copied from trunk/railties/generators/scaffold/templates/functional_test.rb)
- tags/rel_0-9-1/railties/generators/scaffold/templates/style.css (copied) (copied from trunk/railties/generators/scaffold/templates/style.css)
- tags/rel_0-9-1/railties/generators/scaffold/templates/view_edit.rhtml (copied) (copied from trunk/railties/generators/scaffold/templates/view_edit.rhtml)
- tags/rel_0-9-1/railties/generators/scaffold/templates/view_new.rhtml (copied) (copied from trunk/railties/generators/scaffold/templates/view_new.rhtml)
- tags/rel_0-9-1/railties/generators/scaffold/USAGE (copied) (copied from trunk/railties/generators/scaffold/USAGE)
- tags/rel_0-9-1/railties/helpers/application.rb (copied) (copied from trunk/railties/helpers/application.rb)
- tags/rel_0-9-1/railties/helpers/test_helper.rb (copied) (copied from trunk/railties/helpers/test_helper.rb)
- tags/rel_0-9-1/railties/lib/binding_of_caller.rb (copied) (copied from trunk/railties/lib/binding_of_caller.rb)
- tags/rel_0-9-1/railties/lib/breakpoint_client.rb (copied) (copied from trunk/railties/lib/breakpoint_client.rb)
- tags/rel_0-9-1/railties/lib/breakpoint.rb (copied) (copied from trunk/railties/lib/breakpoint.rb)
- tags/rel_0-9-1/railties/lib/dispatcher.rb (copied) (copied from trunk/railties/lib/dispatcher.rb)
- tags/rel_0-9-1/railties/lib/rails_generator.rb (copied) (copied from trunk/railties/lib/rails_generator.rb)
- tags/rel_0-9-1/railties/lib/webrick_server.rb (copied) (copied from trunk/railties/lib/webrick_server.rb)
- tags/rel_0-9-1/railties/Rakefile (copied) (copied from trunk/railties/Rakefile)
- tags/rel_0-9-1/railties/README (copied) (copied from trunk/railties/README)
- tags/rel_0-9-1/railties/test/generators (copied) (copied from trunk/railties/test/generators)
- tags/rel_0-9-1/railties/test/rails_generator_test.rb (copied) (copied from trunk/railties/test/rails_generator_test.rb)
- tags/rel_0-9-1/railties/test/webrick_dispatcher_test.rb (copied) (copied from trunk/railties/test/webrick_dispatcher_test.rb)
- trunk/actionpack/lib/action_controller/base.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tags/rel_0-9-1/actionpack/lib/action_controller/base.rb
r194 r204 432 432 # http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 433 433 # for the Cache-Control header spec. 434 def send_file(path, options = {}) 434 def send_file(path, options = {}) #:doc: 435 435 raise MissingFile unless File.file?(path) and File.readable?(path) 436 436 … … 484 484 # 485 485 # See +send_file+ for more information on HTTP Content-* headers and caching. 486 def send_data(data, options = {}) 486 def send_data(data, options = {}) #:doc: 487 487 logger.info "Sending data #{options[:filename]}" unless logger.nil? 488 488 send_file_headers! options.merge(:length => data.size) trunk/actionpack/lib/action_controller/base.rb
r194 r204 432 432 # http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 433 433 # for the Cache-Control header spec. 434 def send_file(path, options = {}) 434 def send_file(path, options = {}) #:doc: 435 435 raise MissingFile unless File.file?(path) and File.readable?(path) 436 436 … … 484 484 # 485 485 # See +send_file+ for more information on HTTP Content-* headers and caching. 486 def send_data(data, options = {}) 486 def send_data(data, options = {}) #:doc: 487 487 logger.info "Sending data #{options[:filename]}" unless logger.nil? 488 488 send_file_headers! options.merge(:length => data.size)