C
Christopher J. Bottaro
How do I do this using httplib.HTTPConnection and
httplib.HTTPConnection.request()? The library reference only gives a
simple GET example with no header stuff. I tried this, but it didn't work:
conn.request("GET", "/somepage.html", None, {"AUTHORIZATION": "Basic
usernameassword"})
Thanks for the help.
P.S. I know nothing about HTTP, I'm just piecing this stuff together from
examples on the internet, please be gentle with your responses.
httplib.HTTPConnection.request()? The library reference only gives a
simple GET example with no header stuff. I tried this, but it didn't work:
conn.request("GET", "/somepage.html", None, {"AUTHORIZATION": "Basic
usernameassword"})
Thanks for the help.
P.S. I know nothing about HTTP, I'm just piecing this stuff together from
examples on the internet, please be gentle with your responses.