On Thu, Dec 19, 2002 at 08:25:51PM +0200, Tuomas Lukinmaa wrote: > Matthew Toseland wrote: > > >Eek. It wasn't intended to do that :). > > Also there seems to be something fishy with If-Modified-Since parsing, > as reloading same content does not cause 304 response from fproxy: Yeah, it's unsupported. > > +++GET 2831+++ > GET /SSK%40rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/TFE//ActiveLink.jpg HTTP/1.1 > Host: 127.0.0.1:8888 > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) > Gecko/20021126 > Accept: > text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 > Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 > Keep-Alive: 300 > If-Modified-Since: Thu, 19 Dec 2002 02:00:00 GMT > Cache-Control: max-age=0 > Connection: keep-alive > > +++RESP 2831+++ > HTTP/1.1 200 OK > Date: Thu, 19 Dec 2002 20:16:49 GMT > Expires: Fri, 20 Dec 2002 02:00:00 GMT > Last-Modified: Thu, 19 Dec 2002 02:00:00 GMT > Content-length: 1239 > Content-type: image/jpeg;charset=ISO-8859-1 > Server: Fred 0.5 (build 539) HTTP Servlets > +++CLOSE 2831+++ > > Example of 304 working: > > +++GET 2833+++ > GET /Protocols/rfc2616/rfc2616-sec14.html HTTP/1.1 > Host: www.w3.org > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) > Gecko/20021126 > Accept: > text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 > Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 > Keep-Alive: 300 > If-Modified-Since: Thu, 07 Nov 2002 22:01:20 GMT > If-None-Match: "3dcae2b0" > Cache-Control: max-age=0 > Connection: keep-alive > > +++RESP 2833+++ > HTTP/1.1 304 Not Modified > Date: Thu, 19 Dec 2002 18:20:27 GMT > Server: Apache/1.3.26 (Unix) PHP/3.0.18 > Connection: Keep-Alive > Keep-Alive: timeout=15 > ETag: "3dcae2b0" > Expires: Fri, 20 Dec 2002 00:20:27 GMT > Cache-Control: max-age=21600 > +++CLOSE 2833+++ > > >No, unfortunately it isn't on freenet. We cannot send data we cannot > >interpret with a MIME type of text/html or text/css, without direct user > >intervention to authorize it, because of filtering. > > My bad, forgot that case. > > >Ewww. Maybe with the much heralded server-side javascript implementation > >:). > > Every bit of well thought out automation will help content authors to > create better freenet experience for users. Hey, I was serious... I _suspect_ that it would be possible to make a safe server-side javascript for fred. The person who was working on it disappeared. >
-- Matthew Toseland toad at amphibian.dyndns.org amphibian at users.sourceforge.net Freenet/Coldstore open source hacker. Employed full time by Freenet Project Inc. from 11/9/02 to 11/1/03 http://freenetproject.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20021219/4513cc03/attachment.pgp>
