[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Host header for CONNECT method
From: |
Ángel González |
Subject: |
Re: [Bug-wget] Host header for CONNECT method |
Date: |
Wed, 30 Jan 2013 16:22:26 +0100 |
User-agent: |
Thunderbird |
On 30/01/13 16:02, Pavel Mateja wrote:
> Hi,
> apache is just correctly implementing rfc2616:
>
> Section 9 Method Definitions:
> ...
> The Host request-header field (section 14.23) MUST accompany all HTTP/1.1
> requests.
>
> Section 14.23 Host
> ...
> All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request)
> status code to any HTTP/1.1 request message which lacks a Host header field.
>
> There are no exceptions for CONNECT. I guess rfc2817 should have mention that
> in examples.
However, the rationale for Host: doesn't stand for the CONNECT method.
I'm ok
with the change, I only wanted it noted in a comment.