curl 可以用在 google app engine 上吗?
最佳答案
没有。要发出 HTTP 请求,您需要使用 urlfetch 服务。
App Engine 上的 urllib、urllib2 和 httplib 已修补以透明地为您使用此 API,因此任何使用这些标准模块之一执行 HTTP 请求的第三方模块都可以工作。
cURL 中的“c”是因为该库是用 C 编写的;其他语言(如 pycurl)中的 cURL 接口(interface)使用 libcurl 库,并且不能在 App Engine 上使用,因为不允许响应 C 扩展的模块。
关于google-app-engine - 在应用引擎上 curl ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2571627/