Sorry for the dupe Jens, I forgot to send to list<br><br>I don't know about the plt-webserver. I had a lot of trouble in the past with browsers, using other implementations.<br><br>It
generally pays off for GET->POST->REDIRECT->(GET|HEAD) to
force the no-cache behaviour. As far as I remember even then you might
hit problems, but I can't recollect the exact cases, they are a
<br>voodoo science.<br><br>The browser can choose to issue HEAD to
check for status, although you expect a GET instead. The decision
GET|HEAD is due to the browsers' page handling and caching logic, which
isn't and can't be specified in the http protocol specs, that's why the
language in the RFC.
<br><br>Cheers,<br>Vlado<br><br><div><span class="gmail_quote">On 8/9/07, <b class="gmail_sendername">Jens Axel Søgaard</b> <<a href="mailto:jensaxel@soegaard.net">jensaxel@soegaard.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Vladimir Zlatanov wrote:<br>> After adding the following headers, FireFox behaves normal again.<br>><br>> (make-header #"Pragma" #"No-cache")<br>> (make-header #"Cache-Control" #"no-cache")
<br>> (make-header #"Expires" #"1")<br>><br>> But I still don't understand why these are necessary.<br>><br>> Well, it is from the under-specified set of behaviour is http. They can
<br>> be and are interpreted differently<br>> by different browsers.<br><br>The text for 303 is as follows:<br><br> 10.3.4 303 See Other<br><br> The response to the request can be found under a different URI and
<br> SHOULD be retrieved using a GET method on that resource. This method<br> exists primarily to allow the output of a POST-activated script to<br> redirect the user agent to a selected resource. The new URI is not a
<br> substitute reference for the originally requested resource. The 303<br> response MUST NOT be cached, but the response to the second<br> (redirected) request might be cacheable.<br><br> The different URI SHOULD be given by the Location field in the
<br> response. Unless the request method was HEAD, the entity of the<br> response SHOULD contain a short hypertext note with a hyperlink to the<br> new URI(s).<br><br> Note: Many pre-HTTP/1.1 user agents do not understand the 303
<br> status. When interoperability with such clients is a concern,<br> the 302 status code may be used instead, since most user agents<br> react to a 302 response as described here for 303.<br><br>
Ahh! The word "SHOULD" means:<br><br> 3. SHOULD This word, or the adjective "RECOMMENDED", mean that there<br> may exist valid reasons in particular circumstances to ignore a<br> particular item, but the full implications must be understood and
<br> carefully weighed before choosing a different course.<br><br>So one can't be sure that the page redirected to is fetched by GET.<br><br>I am still a little puzzled by the fact that browsers behave differently
<br>with the rather standard POST-REDIRECT-GET pattern. Maybe my problem<br>is due to the fact that I am redirecting to the same page that the<br>POST stemmed from? Also, I couldn't see any cache headers in the<br>web-server source where redirect-to is implemented, but perhaps
<br>those headers are present somewhere else?<br><br>--<br>Jens Axel Søgaard<br><br><br><br><br><br></blockquote></div><br>