If --removeheader is used, the HTTP header will be removed for you.
(echo "HTTP/1.0 200 OK";
echo "Content-Type: text/html";
echo "" ; cat bar.html ) |
wwwoffle-write http://www.foo/bar.html
If --addheader is used, the above header will be generated for you, so that the data can be redirected without the need for the echoes above.
If a different header is required, it will have to be generated externally as in the example above.
This should only be done as the user "proxy", else the file can't be written (in case of a normal user), or the file can't be removed later (in case of doing this as root).
/var/cache/wwwoffle default wwwoffle cache