]> git.ipfire.org Git - thirdparty/tornado.git/commit
Don't set content-length in StaticFileHandler unless we're actually
authorBen Darnell <bdarnell@beaker.local>
Thu, 4 Feb 2010 21:18:43 +0000 (13:18 -0800)
committerBen Darnell <bdarnell@beaker.local>
Thu, 4 Feb 2010 21:18:43 +0000 (13:18 -0800)
commit7ffb44237fdd655a7650805dd51f126b5bfd8b8a
tree415a3fc647720ac3c1baedc32df5bc78bc34aa19
parentc1be85fcfe3d5a841be3bfe99b0c7b714a0dd4db
Don't set content-length in StaticFileHandler unless we're actually
sending the content.  Some browsers get confused by this (e.g. the
version of webkit embedded in fluid, but not the version used in chrome).
tornado/web.py