Well, I have tested this on the CGI adapter on XP (with apache) and on mod_webkit2 on RHL. Same behavior.

Thanks,

Costas



From: Geoffrey Talvola <[EMAIL PROTECTED]>
To: 'Costas Malamas' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: RE: [Webware-discuss] How can I access Request headers (implementing 304 responses)?
Date: Thu, 22 Jan 2004 09:11:17 -0500


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

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to