[11401] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Request Error !!

daemon@ATHENA.MIT.EDU (Kid)
Sun Jul 25 21:14:04 1999

Date: Mon, 26 Jul 1999 08:03:14 +0700 (JAVT)
From: Kid <ronw@elang.stts.ac.id>
To: www-talk@w3.org
Resent-From: www-talk@w3.org


hi, all
i have a problem that i didn't know where the mistakes that i made. I send
a request like this :

strcommand = "GET HTTP://www.ubaya.ac.id/ HTTP/1.1" + crlf
strcommand = strcommand + "Host: www.ubaya.ac.id" + crlf
strcommand = strcommand + "Accept: */*" + crlf + crlf

socket.send(strcommand)

I always get error messages like "HTTP/1.0 401 Request Url Is Invalid".
I don't know what's wrong with this request. 
I also want to ask "may i send a HTTP/1.1 request into server that use
HTTP/1.0 ??"

Thanks
Ronny Widjaja
Informatic And Engineering School


home help back first fref pref prev next nref lref last post