curl on app engine [英] curl on app engine

查看:89
本文介绍了curl on app engine的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在google app引擎上使用。

can curl be used on google app engine ?

推荐答案

否。要发出HTTP请求,您需要使用urlfetch服务。App Engine上的

No. To make HTTP requests, you need to use the urlfetch service.

urllib,urllib2和httplib已修补,以便为您透明地使用此API, -party模块使用这些标准模块之一执行HTTP请求将工作。

urllib, urllib2, and httplib on App Engine are patched to transparently use this API for you, so any third-party module that does HTTP requests using one of these standard modules will work.

cURL中的'c'是存在的,因为库是用C编写的;其他语言(如pycurl)中的cURL界面使用libcurl库,不能在App Engine上使用,因为不允许在C扩展程序上回复的模块。

The 'c' in cURL is there because the library is written in C; cURL interfaces in other languages (like pycurl) use the libcurl library, and can't be use on App Engine, as modules that reply on C extensions are not allowed.

这篇关于curl on app engine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆