httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] more output than send by the script?
Date Tue, 27 Jul 2004 17:57:15 GMT
On Tue, 27 Jul 2004 19:31:51 +0200, Marten Lehmann <lehmann@cnm.de> wrote:
> Hello,
> 
> > If you client can't deal with this, then it isn't an HTTP/1.1 client,
> > and it should therefore be sending HTTP/1.0 requests, not HTTP/1.1
> > requests.
> 
> it isn't really a "client", but just a script that sends
> 
> GET / HTTP/1.1
> Host: api
> 
> Without HTTP/1.1, there's no host-header.

Wrong.  You can certainly send the Host: header with HTTP/1.0.  In
fact, essentially all HTTP/1.0 clients have done this for years.  It
is note *required* by HTTP/1.0, but it is certainly allowed.

> > Alternatively, you could try
> > SetEnv downgrade-1.0
> 
> I tried, this is my definition:
> 
> <VirtualHost 192.168.33.33:80>
>          DocumentRoot /vrmd/config/webs/api
>          ServerName api
>          SetEnv force-response-1.0
>          SetEnv downgrade-1.0
>          SetEnv nokeepalive
> </VirtualHost>
> 
> nokeepalive definitely works, but the output still is

Strange.  Something is wrong there.  But it doesn't really matter. 
Just use HTTP/1.0 from your "client".

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message