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

Re: Request Error !!

From: Mukul Gandhi <mgandhi@mtcindia.com>
Date: Mon, 26 Jul 1999 10:17:43 +0500
Message-Id: <>
To: Kid <ronw@elang.stts.ac.id>, www-talk@w3.org
Problem seems to be in the first line. It should be like GET <documentpath>
HTTP/1.1 where <documentpath> is path of the document stripped of protocol
& the domain name e.g  GET /abc/index.html HTTP/1.1

But u may not be able to send HTTP/1.1 request to server that supports
HTTP/1.0(reverse is possible). 


At 08:03 AM 7/26/99 +0700, Kid wrote:
>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
>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 ??"
Received on Monday, 26 July 1999 00:53:58 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:24 UTC