]> spindle.queued.net Git - midori/commit
Set proper content types and work with temporary cache file fragments
authorAlexander Butenko <a.butenka@gmail.com>
Tue, 27 Oct 2009 19:03:22 +0000 (20:03 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 27 Oct 2009 19:03:22 +0000 (20:03 +0100)
commit8ef3eeaa89a59751424c47fd6a6fcecd54ec0a1c
tree0387ecd9d285c64abccf224f602dede2cf7287dd
parentf0e7b939643352a503f08e791e267ffb122daa9c
Set proper content types and work with temporary cache file fragments

With WebKit 1.1.11 and newer, we can sniff the content type which
is needed in some cases to load for instance Flash videos.

We are writing chunks into temporary files and commit completed
files to the cache, so that we don't end up serving partial files.

Old cache entries are removed before updating.

Length detection is improved.

File creation moved from got-chunk to got-headers.
extensions/web-cache.c