[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-user
Subject: Re: Is Slide If: header compliant? (rfc2518 section 9.4)
From: James Mason <masonjm () apache ! org>
Date: 2004-08-27 6:16:02
Message-ID: 412ED1A2.5080209 () apache ! org
[Download RAW message or body]
Magic? ;)
kranga wrote:
> 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" <luetzkendorf@apache.org>
> To: "Slide Users Mailing List" <slide-user@jakarta.apache.org>
> 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" <luetzkendorf@apache.org>
>>>To: "Slide Users Mailing List" <slide-user@jakarta.apache.org>
>>>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: slide-user-unsubscribe@jakarta.apache.org
>>>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic