A.D.F. wrote, On 28/09/07 21:36:
> Stefan de Konink wrote:
>> A.D.F. schreef:
>>> The only drawback of this solution is that it is still
>>> not fully standard compliant;
>>> in theory after HTTP method name there could also be
>>> a TAB instead of a SPACE,
>>> in practice no sane client put a TAB after HTTP request method,
>>> so it should work well for 0.6.x releases.
>> What about doing the compare on str (not on str" "), this should be ==
>> 0, then doing a (line[sizeof(str)] == ' ' || line[sizeof(str)] == '\t').
>> (Now I wonder if it should be sizeof(str) or +1, but the idea is clear).
> 
> Sorry, I have just re-read HTTP specifications and
> the conclusion is that Cherokee is standard compliant
> because HTTP Request-Line is special,
> so between Method-Name and Request-URI only 1 space is allowed
> (extra spaces, TABs and CRLFs are forbidden).

Good to know. Thanks for the clarification. :-)

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to