Hulk
Hulk

Reputation: 34180

sending http request to apache through a python script

All,

How do we send a http request through a python script.which will login and in turn call another link?

Thanks.

Upvotes: 1

Views: 616

Answers (2)

reech
reech

Reputation: 340

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

Upvotes: 1

Yacoby
Yacoby

Reputation: 55465

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

Upvotes: 0

Related Questions