IOError 35 when trying to read the result of call to urllib2.urlopen

Steven D'Aprano steve+comp.lang.python at
Fri Sep 9 21:02:08 EDT 2011

matt wrote:

> When I try to look at "resp_body" I get this error:
> IOError: [Errno 35] Resource temporarily unavailable
> I posted to the same URI using curl and it worked fine, so I don't
> think it has to do with the server.

Are your Python code and curl both using the same proxy? It may be that one
is going direct and the other is using a proxy.

Or perhaps the destination is just flaky, and the resource genuinely is
temporarily unavailable. Or it doesn't like your useragent string and is


More information about the Python-list mailing list