hi All,
I'm running Apache 1.3.6 and JServ 1.0b5 under Windows NT 4.0
and have noticed the following servlet behavior:
1. getHeader("If-Modified-Since") always returns null.
2. getDateHeader("If-Modified-Since") always returns -1.
I did a clean install of apache, jserv, and gnujsp 0.9.10 on a new machine and sent
the following request:
GET /webbuilder/snoop.jsp HTTP/1.0
Host: localhost2
If-Modified-Since: Sun, 06 Nov 1998 08:49:37 GMT
If-Modified-Since2: Sun, 06 Nov 1998 08:49:37 GMT
snoop.jsp is a sample jsp file included with gnujsp which happens to dumps headers.
For some strange reason, "Host" and "If-Modified-Since2" is printed, but not
"If-Modified-Since". I then wrote a servlet to output this header with no luck.
getHeader always returns null. I then sent the above request to a static html
file and got a 304, which seems to show that apache got it, at least.
Looking at the source, I found a line in apache which unset "If-Modified-Since",
but nothing else interesting (although my first time looking at the code, so no guru).
Anyone have seen this before?
thanks,
rob
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]