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.