Hi,
I am using httplib to access a Page on a Server:
.....
h = httplib.HTTP(Server)
h.putrequest('GET', Page)
h.endheaders()
.....
When Server is configured not to require a passwd, I set Server="myServer",
Page="/myPage",
and everything is OK.
My Q regards the situation where there is a need for authentication: Where
should I put the Username+Passwd?
Thanks in advance!
zwikaM
I am using httplib to access a Page on a Server:
.....
h = httplib.HTTP(Server)
h.putrequest('GET', Page)
h.endheaders()
.....
When Server is configured not to require a passwd, I set Server="myServer",
Page="/myPage",
and everything is OK.
My Q regards the situation where there is a need for authentication: Where
should I put the Username+Passwd?
Thanks in advance!
zwikaM