W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: File Upload via php script

From: Andreas Frey <hilfesucher@gmx.de>
Date: Fri, 05 Nov 2004 13:36:01 +0100
Message-ID: <418B73B1.3080508@gmx.de>
To: www-validator@w3.org

>>POST /check/ HTTP/1.0
>>Host : validator.w3.org

Thanks for your fast answer. When i use HTTP 1.1 as seen below, it again works 
on my local installation, but generates another error. But i think the header 
should be alright, I checked RFC2616 14.23 and all looks good for me.
   POST /check/ HTTP/1.1
   User-Agent : whatever
   Connection : close
   Content-Type : multipart/form-data;
   Host : validator.w3.org
   Keep-Alive : 2000
I get the following answer
   HTTP/1.1 400 Bad Request
   Date: Fri, 05 Nov 2004 12:20:01 GMT
   Server: Apache/1.3.27 (Unix)
   Connection: close
   Transfer-Encoding: chunked
   Content-Type: text/html; charset=iso-8859-1


   <TITLE>400 Bad Request</TITLE>
   <H1>Bad Request</H1>
   Your browser sent a request that this server could not understand.<P>
   client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23):
Received on Friday, 5 November 2004 12:34:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:43 UTC