lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev URI comparisons


From: Karl-Johan Noren
Subject: lynx-dev URI comparisons
Date: Wed, 29 Jul 1998 16:04:11 +0200

>From HTTP 1.1 (RFC 2068):

***
3.2.3 URI Comparison

   When comparing two URIs to decide if they match or not, a client
   SHOULD use a case-sensitive octet-by-octet comparison of the entire
   URIs, with these exceptions:

     o  A port that is empty or not given is equivalent to the default
        port for that URI;

     o  Comparisons of host names MUST be case-insensitive;

     o  Comparisons of scheme names MUST be case-insensitive;

     o  An empty abs_path is equivalent to an abs_path of "/".

   Characters other than those in the "reserved" and "unsafe" sets (see
   section 3.2) are equivalent to their ""%" HEX HEX" encodings.

   For example, the following three URIs are equivalent:

         http://abc.com:80/~smith/home.html
         http://ABC.com/%7Esmith/home.html
         http://ABC.com:/%7esmith/home.html
***

A simple test (like visiting a large page or viewing the
visited file window) shows that this is not true in Lynx,
even in version 2.8.

Karl-Johan Norén (Noren with acute e) -- address@hidden
http://www.dsv.su.se/~k-j-nore/
 - To believe people are as stupid as one believes is
   stupider than one can believe.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]