My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Older

  • Aug 03, 2008
    r402 (0.4.5.4.) committed by ciconia   -   0.4.5.4.
    0.4.5.4.
  • Aug 02, 2008
    r401 (debug) committed by ciconia   -   debug
    debug
  • Aug 02, 2008
    r400 (debug) committed by ciconia   -   debug
    debug
  • Aug 02, 2008
    r399 (debug) committed by ciconia   -   debug
    debug
  • Aug 02, 2008
    r398 (debug) committed by ciconia   -   debug
    debug
  • Aug 02, 2008
    r397 (debug) committed by ciconia   -   debug
    debug
  • Aug 02, 2008
    r396 (debug) committed by ciconia   -   debug
    debug
  • Aug 02, 2008
    r395 (Removed small debug trace.) committed by ciconia   -   Removed small debug trace.
    Removed small debug trace.
  • Aug 02, 2008
    r394 (0.4.5.3 tag.) committed by ciconia   -   0.4.5.3 tag.
    0.4.5.3 tag.
  • Aug 02, 2008
    r393 (Fixed parsing of multipart requests.) committed by ciconia   -   Fixed parsing of multipart requests.
    Fixed parsing of multipart requests.
  • Jul 24, 2008
    issue 8 (static.rb does not server images on windows) commented on by rkernahan   -   and f.close() of course
    and f.close() of course
  • Jul 24, 2008
    issue 8 (static.rb does not server images on windows) reported by rkernahan   -   What steps will reproduce the problem? 1. load a png or gif in Windows What is the expected output? What do you see instead? File is truncated What version of the product are you using? On what operating system? Windows XP. fixed method below:; static.rb: # Sends a file representation, setting caching-related headers. def set_file_representation(full_path, fn) ext = File.extension(full_path) ttl = CACHE_TTL[ext] validate_cache :etag => File.etag(full_path), :ttl => CACHE_TTL[ext], :last_modified => File.mtime(full_path) do add_header(CONTENT_TYPE, MIME_TYPES[ext]) #@body = IO.read(full_path) # truncated for binary (image)files f = File.new(full_path, 'r') f.binmode() @body = f.read() end end
    What steps will reproduce the problem? 1. load a png or gif in Windows What is the expected output? What do you see instead? File is truncated What version of the product are you using? On what operating system? Windows XP. fixed method below:; static.rb: # Sends a file representation, setting caching-related headers. def set_file_representation(full_path, fn) ext = File.extension(full_path) ttl = CACHE_TTL[ext] validate_cache :etag => File.etag(full_path), :ttl => CACHE_TTL[ext], :last_modified => File.mtime(full_path) do add_header(CONTENT_TYPE, MIME_TYPES[ext]) #@body = IO.read(full_path) # truncated for binary (image)files f = File.new(full_path, 'r') f.binmode() @body = f.read() end end
 
Hosted by Google Code