string.join question (was Re: urllib question)

paul beard paul at fizzylab.com
Sat Jun 17 17:27:22 EDT 2000


The length isn't the issue. I'm not able to do the string.join for some
reason. I need to feed many URLs from a common host. I have the URLs (from
an access log) and want to just append the URL to the host. 



On Sat, 17 Jun 2000, Oleg Broytmann wrote:

> On Fri, 16 Jun 2000 paul at fizzylab.com wrote:
> > u = urllib.urlopen(string.join(["http://some.host.com/",
> > "montstrousQueryString?withParameters"]))
>    ^^^^ How long is it? HTTP allows only 1024 characters here. For longer
> queries use POST method instead of GET.
> 
> Oleg.            (All opinions are mine and not of my employer)
> ---- 
>     Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
>            Programmers don't die, they just GOSUB without RETURN.
> 






More information about the Python-list mailing list