]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
filenode.py: Fix partial HTTP Range header handling according to RFC2616
authorfrancois <francois@ctrlaltdel.ch>
Tue, 18 Nov 2008 14:41:35 +0000 (07:41 -0700)
committerfrancois <francois@ctrlaltdel.ch>
Tue, 18 Nov 2008 14:41:35 +0000 (07:41 -0700)
commitdb7ad6da128609d2c14e480a9f54383b839d77e2
treed46d920164888b838b56449504f3dd7885d354f2
parentffb598514656e7b2f771349c2be15340e3e6e73d
filenode.py: Fix partial HTTP Range header handling according to RFC2616

Tahoe webapi was failing on HTTP request containing a partial Range header.
This change allows movies players like mplayer to seek in movie files stored in
tahoe.

Associated tests for GET and HEAD methods are also included
src/allmydata/test/test_web.py
src/allmydata/web/filenode.py