I don't have test cases, but if there is no code to handle the situation in the first place, how will it work?
----- Original Message ----- From: "Stefan Lützkendorf" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 26, 2004 9:31 AM Subject: Re: Is Slide If: header compliant? (rfc2518 section 9.4) > Do you have any test cases or scenarios in which slide responses > wrong with a given If header? > > I know there are testcases in the testsuite with If header. I will > have a look at it. But it would be good to know under what conditions > an error occurs. > > Stefan > > kranga wrote: > > > Well then, I don't see where in the code the IF: header check is done. As I > > said, the only four IF checks that I see are: > > > > If-Match > > If-Modified-Since > > If-None-Match > > If-Unmodified-Since > > > > And these checks are done in the checkIfheader() method of > > AbstractWebdavMethod, AND they are only called in the GET and PUT method > > implementations! So I guess I have to report a bug... > > > > ----- Original Message ----- > > From: "Stefan Lützkendorf" <[EMAIL PROTECTED]> > > To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Thursday, August 26, 2004 5:49 AM > > Subject: Re: Is Slide If: header compliant? (rfc2518 section 9.4) > > > > > > > >>Yes, If header is handled by slide. > >> > >>If you have any cases that are not handled correctly, it is a severe bug > >>and it would be good if you could report it. > >> > >>BTW If makes requests conditional in respect to locks, while the other > >>four headers make them conditional in respect to content modification > >>(given by last-modified-date and/or etag) > >> > >>Stefan > >> > >>kranga wrote: > >> > >> > >>>Does Slide 2.0 handle the If: header? I see that the AbstractMethod > > > > class > > > >>>handles: > >>> > >>>If-Match > >>>If-Modified-Since > >>>If-None-Match > >>>If-Unmodified-Since > >>> > >>>but does it also handle the more generic If: header specified in section > > > > 9.4 > > > >>>of the webDAV protocol rfc2518 ? It seems like If can apply to all > > > > methods. > > > >>>I only see calls to checkIfHeaders in PUT and GET. The example in > > > > section > > > >>>9.4.2.1 of the RFC is shown with the COPY method. Any help is > > > > appreciated. > > > >>>Thanks > >>>K > >>> > >>> > >>>--------------------------------------------------------------------- > >>>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] > >> > > > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]