urllib2 urlopen takes too much time
cpollio at vt.edu
cpollio at vt.edu
Sun Dec 3 12:49:45 EST 2017
On Tuesday, June 23, 2009 at 11:09:30 PM UTC-4, Aahz wrote:
> In article <mailman.1916.1245600033.8015.python-list at python.org>,
> =?UTF-8?Q?Filip_Gruszczy=C5=84ski?= <gruszczy at gmail.com> wrote:
> >
> >I have encountered a performance problem using suds, which was traced
> >down to _socket.recv. I am calling some web services and each of them
> >uses about 0.2 sec and 99% of this time is spent on urllib2.urlopen,
> >while the rest of the call is finished in milliseconds.
>
> What happens if you use urlopen() by itself?
> --
> Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
>
> "as long as we like the same operating system, things are cool." --piranha
I am having the same issue. Did you ever figure out a solution? The time delay is also the same, from .2 to .25 sec. I need to stay with urlopen though so I can do a custom request header
More information about the Python-list
mailing list