[Twisted-Python] URL encoding

Nathan nathan.stocks at gmail.com
Mon Mar 24 09:45:47 MDT 2008


On Mon, Mar 24, 2008 at 9:20 AM, Vasil Vangelovski
<vvangelovski at gmail.com> wrote:
> urllib.quote is useless as is
>
>  >>> urllib.quote('http://www.example.com/part1 part2.html')
>  'http%3A//www.example.com/part1%20part2.html

So don't give it the 'http://www.example.com/' part.

~ Nathan




More information about the Twisted-Python mailing list