Costas Malamas wrote:
> Correction; it seems that *sometimes* (I cannot quite replicate this
> consistently) I can get an HTTP_IF_NOT_MATCH variable in the
> environ() dict. To get this, I have to put an "ETag" header on a
> prior
> response, but I
> don't consistently get it back. I.e.:
>
> Request_1: Client requests a WK Page. No ETag/Last-Modified header
> Response_1: WK sends back an ETag/Last-Modified header in the response
> Request_2: The client sends the
> If-Not-Match/If-Not-Modified-Since headers
> that correspond to Response_1's headers. However, I only get the
> If-Not-Match header in self.request().environ() dict only
> intermittently.
>
> I think it could be that Apache may be intervening in
> Response_1, trying to
> enforce the ETag. Actually, I think the WK adapters are a
> bit buggy here...
You could try using one of the CGI adapters -- either WebKit.cgi or the C
compiled one -- and see if the behavior is different. It's possible
mod_webkit would give different results since it is implemented in a very
different way.
- Geoff
|