On 19/8/11 1:14 PM, Leonid Evdokimov wrote:
> Hello,
>
> Here is patch to add "host" header to outgoing HTTP/1.1 requests.
> Please, review.
>
> Without the patch libevent-based evhttp-client.c can't get reply from
> any sane server because the request is rejected with "400 Bad request"
> and wor
On Fri, Aug 19, 2011 at 7:14 AM, Leonid Evdokimov wrote:
> Hello,
>
> Here is patch to add "host" header to outgoing HTTP/1.1 requests.
> Please, review.
>
> Without the patch libevent-based evhttp-client.c can't get reply from
> any sane server because the request is rejected with "400 Bad reques
On Fri, Aug 19, 2011 at 03:14:12PM +0400, Leonid Evdokimov wrote:
> From a87fc928f7a61ca691861154ffd9ba3e6aec0397 Mon Sep 17 00:00:00 2001
> From: Leonid Evdokimov
> Date: Fri, 19 Aug 2011 14:47:20 +0400
> Subject: [PATCH 6/6] Add Host header in HTTP/1.1 requests if it's missing.
>
> ---
> http.
Hello,
Here is patch to add "host" header to outgoing HTTP/1.1 requests.
Please, review.
Without the patch libevent-based evhttp-client.c can't get reply from
any sane server because the request is rejected with "400 Bad request"
and workaround - adding the header manually - is required.
--
WBRB