Boost logo

Boost :

Subject: Re: [boost] [review][beast] Review of Beast starts today : July 1 - July 10
From: Vinícius dos Santos Oliveira (vini.ipsmaker_at_[hidden])
Date: 2017-07-08 17:50:48


2017-07-01 22:38 GMT+02:00 Niall Douglas via Boost <boost_at_[hidden]>:

> If that's too experimental for you (though the Ranges TS is a TS just
> like the Networking TS), then do as Boost.Spirit does and work with
> iterator pairs. So for example, if I want to know what the
> Content-Length header is, upon query I get back an iterator pair
> pointing to the front of the storage and one after the end of the
> storage. Similarly, if I set the Content-Length header, I supply an
> iterator pair to the new contents.
>

That would be pretty bad as HTTP also involves connection management (e.g.
"connection: close").

It'd work for an HTTP parser. But Beast seems pretty low-level already.

-- 
Vinícius dos Santos Oliveira
https://vinipsmaker.github.io/

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