Re: URI Test Suite

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 UTC