Boost logo

Boost :

Subject: Re: [boost] [beast] Automatic content-length?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-07-02 14:51:23


Vinnie Falco wrote:
> On Sun, Jul 2, 2017 at 7:31 AM, Peter Dimov via Boost
> <boost_at_[hidden]> wrote:
> > Exhibit A:
> > https://github.com/vinniefalco/Beast/blob/master/example/http-server-fast/http_server_fast.cpp#L155
>
> Okay, is there something actionable here?

If "here" is this specific example, then no, it sets the Content-Length
(twice).

If "here" is Beast, then perhaps there should be a way to either fix or
detect the mistake of forgetting to set the Content-Length.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk