URL parsing for the hard cases

Miles semanticist at gmail.com
Sun Jul 22 20:02:52 CEST 2007


On 7/22/07, John Nagle wrote:
>     Is there something available that will parse the "netloc" field as
> returned by URLparse, including all the hard cases?  The "netloc" field
> can potentially contain a port number and a numeric IP address.  The
> IP address may take many forms, including an IPv6 address.

What do you mean by "parse" the field?  What do you want to get back
from the parser function?



More information about the Python-list mailing list