Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 204

Show
Ignore:
Timestamp:
12/17/04 17:19:05 (4 years ago)
Author:
david
Message:

Tagged the 0.9.1 release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/rel_0-9-1/actionpack/lib/action_controller/base.rb

    r194 r204  
    432432      # http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 
    433433      # for the Cache-Control header spec. 
    434       def send_file(path, options = {}) 
     434      def send_file(path, options = {}) #:doc: 
    435435        raise MissingFile unless File.file?(path) and File.readable?(path) 
    436436 
     
    484484      # 
    485485      # 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: 
    487487        logger.info "Sending data #{options[:filename]}" unless logger.nil? 
    488488        send_file_headers! options.merge(:length => data.size) 
  • trunk/actionpack/lib/action_controller/base.rb

    r194 r204  
    432432      # http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 
    433433      # for the Cache-Control header spec. 
    434       def send_file(path, options = {}) 
     434      def send_file(path, options = {}) #:doc: 
    435435        raise MissingFile unless File.file?(path) and File.readable?(path) 
    436436 
     
    484484      # 
    485485      # 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: 
    487487        logger.info "Sending data #{options[:filename]}" unless logger.nil? 
    488488        send_file_headers! options.merge(:length => data.size)