vendor/tramline

changeset 27:9e0c10f0c58e gracinet-fix-range

Removed old debug log lines
author Georges Racinet on RedRust.racinet.fr <georges@racinet.fr>
date Sat, 11 Sep 2010 12:36:54 +0200
parents c7856534d145
children b31636d07fdc
files src/tramline/core.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/src/tramline/core.py
     1.2 +++ b/src/tramline/core.py
     1.3 @@ -214,9 +214,6 @@
     1.4      # Range request
     1.5      hin = filter.req.headers_in
     1.6      h = hin.get(TRAMLINE_RANGE_HEADER)
     1.7 -    log('Filter out: Range: ' + str(h), filter.req)
     1.8 -    #TODO log("Filter out: status line " + filter.req.status_line, filter.req)
     1.9 -    log("Filter out: status " + str(status), filter.req)
    1.10  
    1.11      if h and status in [206, 416]:
    1.12          # Range was requested and app server agreed
    1.13 @@ -259,7 +256,6 @@
    1.14               filter.close()
    1.15               return
    1.16  
    1.17 -	log("serve_file_ranges: one chunk, %d-%d" % (start, end), filter.req)
    1.18    	hout['Content-Length'] = str(end - start + 1)
    1.19          hout['Content-Range'] = 'bytes %d-%d/%d' % (start, end, size)
    1.20  	dump_file_range(fd, start, end, filter)