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

Re: URI Test Suite

From: Mark Nottingham <mnot@akamai.com>
Date: Sat, 11 Aug 2001 22:43:02 -0700
To: Aaron Swartz <aswartz@upclink.com>
Cc: uri@w3.org
Message-ID: <20010811224252.A1139@akamai.com>

I've started sketching out a class-based URI module to replace the
function-based urlparse one distributed with Python... don't know how
much time I'll have to work on it, but if you (or anyone else) is
interested, we could give it a go.

Cheers,


On Sun, Aug 12, 2001 at 12:00:49AM -0500, Aaron Swartz wrote:
> 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 
> query...
> 
> --
> [ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
> 

-- 
Mark Nottingham, Research Scientist
Akamai Technologies (San Mateo, CA USA)
Received on Sunday, 12 August 2001 01:43:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:29 GMT