Re: http/1.1 requirements

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 25 Oct 2000 22:42:55 +0200

Robert Collins wrote:

> 18 & 19 now listed as "we do". (I'll upload shortly)
> do we do case-insensitive compares (outside of the exceptions in 18 & 19?)
> in which case 17 can be marked as does now. My list was a little brief
> there - I missed using the implied default port number for the URI.

Exacly.

Squid compares URLs literally, except for
  a) The protocol is case-insensitive
  b) The hostname is case-insensitive
  c) Port numbers are normalized

The following three URLs all compare as equal:

http://server

http://SERVER

http://server:00080

But
http://server/~user
and
http://server/~7Euser

compares differently.

Internally URL's are split into protocol, user, password, hostname, port
and url_path. Then when the full URL is required (for comparization or
other purposes) url.c:urlCanonical() is used to get the full URL.

/Henrik
Received on Wed Oct 25 2000 - 14:53:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:52 MST