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.
精彩评论