urllib和python
2.6具有SSL支持,您的代码示例对我来说很好。可能您的Python是在没有SSL支持的情况下构建的?尝试重新安装Python
2.6(或更好的2.7),并使用python.org的原始版本。
在Google App Engine上,尝试直接使用API:
from google.appengine.api import urlfetchurl = "https://www.google.com/"result = urlfetch.fetch(url)if result.status_pre == 200: doSomethingWithResult(result.content)



