cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTP/1.0 protocol

From: Torsten Foertsch <torsten.foertsch_at_gmx.net>
Date: Wed, 26 Jan 2005 11:23:23 +0100

On Wednesday 26 January 2005 10:56, Frédéric Mangeant wrote:
> Hi
>
> I'm trying to connect to an old HTTP server which supports only HTTP/1.0,
> but the option "--http1.0" doesn't seem to be working (the request is made
> using HTTP/1.1) :
>
> $ curl -I --http1.0 http://127.0.0.1
> HTTP/1.1 200 OK
> Date: Wed, 26 Jan 2005 09:17:16 GMT
> Server: Apache/2.0.52 (Gentoo/Linux) PHP/4.3.10
> Content-Location: index.html.en
> Vary: negotiate,accept-language,accept-charset
> TCN: choice
> Last-Modified: Thu, 18 Nov 2004 10:28:45 GMT
> ETag: "72a09-5b0-dadb5140"
> Accept-Ranges: bytes
> Content-Length: 1456
> Connection: close
> Content-Type: text/html; charset=ISO-8859-1
> Content-Language: en

This is the answer you got from the server. Try curl -v to see what is sent.

Torsten

  • application/pgp-signature attachment: stored
Received on 2005-01-26