ietf-openproxy
[Top] [All Lists]

Re: IRML questions

2001-04-06 11:41:12
At 19:59 4/6/2001 +0200, Andre Beck wrote:
Hi Lily,

> In IRML, when a rule match is "case-insensitive", you mean the regular
> expression matching is case insensitive, right? What about the name of the
> header (property)?  How does http handle that? For example, are both Cookie
> and cookie the same?

Yes, the "case-sensitive" attribute refers to the rule pattern, not to
the property name. I know that at least some HTTP servers do case
insensitive pattern matches when they parse HTTP headers. So I'd say yes
"cookie" and "Cookie" are the same, at least it is not safe to assume
that HTTP servers differentiate between them.

2616 says that the HTTP field (header) names are case insensitive.

The field values may or may not be case sensitive, depending on the specific header. (E.g. ETag is case sensitive.).



<Prev in Thread] Current Thread [Next in Thread>