W3C home > Mailing lists > Public > uri@w3.org > August 2001

Re: URI Test Suite

From: Aaron Swartz <aswartz@upclink.com>
Date: Sun, 12 Aug 2001 00:00:49 -0500
Message-Id: <200108120502.f7C52si23969@theinfo.org>
Cc: uri@w3.org
To: Mark Nottingham <mnot@akamai.com>
On Friday, August 10, 2001, at 10:43  PM, Mark Nottingham wrote:

> You remind me - I logged a bug with Python a while back regarding
> their urlparse module; it represents a URI as a six-tuple
>   ( scheme, authority, path, parameters, query, fragment )
> As I read 2396, parameters can occur as a suffix to *each* path
> segment, not only on the final one. Guido's response was "great! fix
> it!", but I haven't had time to make a go of it.

Interesting. Someone pointed your bug report out to me and they 
are very much related. The reason Python fails the test suite is 
because it treats queries and parameters specially, where as 
RFC2396 treats them only as a normal part of the path segment. 
So perhaps the solution is to just get rid of parameters and 

[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
Received on Sunday, 12 August 2001 01:00:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:03 UTC