This problem is resolved in CVS head and will be available in next version.
BTW: authentication is independent with the If-Mdified stuff the Date header contains the date of the response and has nothing to do with the Last-Modified date
Regards, Stefan
Jason Harrop wrote:
Hi
I'm testing Slide 2.
Under certain circumstances, XML Spy will include an If-Modified-Since header in its GET requests.
XML Spy appears to be working correctly.
However, Slide is incorrectly returning a 304. See below for transcript of what i did.
I wanted to see whether Slide 1x behaved the same. However, XML Spy refused to include an If-Modified-Since header again Slide 1x, presumably because I have my Slide 1x server set up to authenticate.
My Slide 2 server currently has authentication turned off.
I guess I could change the authentication settings, and see what that does to the behaviour, but irrespective of that, there seems to be a bug in Slide 2's If-Modified-Since handling.
cheers,
Jason
--------------------
create file in XML Spy, and save to URL
then, with cadaver:
dav:/taminowebdavserver/SR/files/> propget testing-IfModified2.xml
getlastmodified = Wed, 28 Jul 2004 03:56:36 GMT creationdate = 2004-07-28T03:56:36Z modificationdate = 2004-07-28T03:56:36Z
close in Spy, and GET it.
Spy correctly doesn't write an I-M-S header
The 200 response had a Last-Modified header of Wed, 28 Jul 2004 03:56:36 GMT, which is correct
Now, modify the resource using cadaver
dav:/taminowebdavserver/SR/files/> put testing-IfModified2.xml
Uploading testing-IfModified2.xml to `/taminowebdavserver/SR/files/testing-IfModified2.xml':
Progress: [=============================>] 100.0% of 198 bytes succeeded.
dav:/taminowebdavserver/SR/files/> propget testing-IfModified2.xml
getlastmodified = Wed, 28 Jul 2004 04:07:00 GMT creationdate = 2004-07-28T03:56:36Z modificationdate = 2004-07-28T04:07:00Z
Close XML Spy.
Start it again, and open the file:
The GET request includes
If-Modified-Since: Wed, 28 Jul 2004 03:56:36 GMT
(which is correct)
but the response is 304 Not Modified, with
Date: Wed, 28 Jul 2004 04:12:30
even though the getlastmodified property is Wed, 28 Jul 2004 04:07:00 GMT
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
