开发者

sending http request to apache through a python script

All,

How do we send a http request through a python s开发者_如何学编程cript.which will login and in turn call another link?

Thanks.


I find that Urllib2 suffices in most cases. It has great support for passwords, authentication and cookies. Cookielib might help too.


Have you looked at httplib? urllib may also be worth looking at as it is a slightly higher level interface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜