vendor/tramline

changeset 18:25bd7198a978 gracinet-progress-bar

updated progress-bar branch from default
author gracinet
date Tue, 17 Aug 2010 00:24:42 +0200
parents 60db9e957c02 47723198ebca
children 23d25b2f5d34
files src/tramline/core.py
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/CHANGES
     1.2 +++ b/CHANGES
     1.3 @@ -7,7 +7,7 @@
     1.4    svn externals
     1.5  Bug fixes
     1.6  ~~~~~~~~~
     1.7 --
     1.8 +- #2017: download hangs with some browser plugins (PDF with Firefox for Windows)
     1.9  New internal features
    1.10  ~~~~~~~~~~~~~~~~~~~~~
    1.11  - 
     2.1 --- a/src/tramline/core.py
     2.2 +++ b/src/tramline/core.py
     2.3 @@ -209,6 +209,8 @@
     2.4      p = id_to_path(tramline_path(filter.req), file_id)
     2.5  
     2.6      log('file id:' + file_id, filter.req)
     2.7 +    if not file_id:
     2.8 +        return
     2.9      # Range request
    2.10      hin = filter.req.headers_in
    2.11      h = hin.get(TRAMLINE_RANGE_HEADER)