W3C home > Mailing lists > Public > www-talk@w3.org > July to August 1999

Request Error !!

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

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
Received on Sunday, 25 July 1999 21:05:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:24 GMT