]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Short circuit GET on ETags match
authorJeremy Fitzhardinge <jeremy@goop.org>
Sun, 13 May 2012 03:42:52 +0000 (20:42 -0700)
committerBrian Warner <warner@lothar.com>
Sun, 13 May 2012 07:45:11 +0000 (00:45 -0700)
commit4f1bc1b3873d0349039d98b4c679af247936fc97
treef47e0e6899e564886ee23a51ee59a20df25e733b
parent518ef25bdb52ba1c565f1dd107883a2e2adb9e9a
Short circuit GET on ETags match

When client does a conditional GET/HEAD with If-none-match:, if the condition
fails (ie, the client's ETag matches the file's) then we can short-circuit
the whole process and immediately return an empty body.
src/allmydata/web/filenode.py