httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ics.uci.edu>
Subject Re: cvs commit: apache-1.3/src/support httpd.exp
Date Tue, 09 Feb 1999 18:24:23 GMT
>But if both are weak it will do a range request, and that's incorrect. 

No it won't -- it will compare the If-Range etag to the last-modified
date, which is guaranteed to fail and thus picks up this edge case for free.

>Also, regarding ap_*_list_item and comments, section 2.2 of http/1.1
>rev-06 says:
>
>    Comments can be included in some HTTP header fields by surrounding
>    the comment text with parentheses. Comments are only allowed in
>    fields containing "comment" as part of their field value definition.
>    In all other fields, parentheses are considered part of the field
>    value.
>
>I only see "comment" as part of the field value definition for Server,
>User-Agent, and Via.  So I don't think it's correct to be skipping
>"comments" in If-Match, If-None-Match, ...

I am torn between doing the minimal parsing and just being robust.
OTOH, now that I've gone through the exercise of writing the parser
and am satisfied that it works for the extreme case, I wouldn't mind
removing that part of the algorithm just to simplify things.  
If we ever need the more complex version, it will be in the history.

....Roy

Mime
View raw message