Hi, thanks for the response!
I've created a string such as:
I'm getting the right response, so that's great!
data = "GET / HTTP/1.1\r\n"
In my case I have to have permission to access the data. This is done by a username and password. If I don't provide this information I get a
HTTP/1.1 401 Authorization Required
Is there a way to provide the username and password in the http headers? My instinct says this isn't possible and I have to talk to the server several times (to provide the name and password) before I can retrieve the page. If this is the case, I have no idea how this is done through HTTP headers.
btw, I've tried ethereal (actually, tehtereal) but haven't made any good progress so far.
edit: I also see a
in the server response....
WWW-Authenticate: Basic realm="Monica"