When I fetch some resource like
"http://news.aol.com/cp.adp?mod1=233051|cp_crosspromo&debug=0", urlfetch
will throw 'CONTENT_TYPE' exception .
Who knows why?
My code is something like this:
Try
beginTime=time.time()
Urlfetch.fetch(url,...)
except Exception, e:
logging.error("url=%s error=%s, time=%d" %(url ,
e,(time.time()-beginTime) ) )
the log is:
url=http://news.aol.com/cp.adp?mod1=233051|cp_crosspromo&debug=0
error='CONTENT_TYPE', time=0
chenbaiping
www.mao2.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---