7 Jul
2018
7 Jul
'18
2:01 p.m.
On Sat, Jul 7, 2018 at 1:19 AM, David Demelier via Boost-users
I was blindly doing:
cout << foo[field::location];
If `foo` is an instance of http::basic_fields, then the expression
above should not produce the CRLF sequence. It should output only the
value of the Location field.
On Sat, Jul 7, 2018 at 1:43 AM, Richard Hodges via Boost-users
Out of interest, why do these functions return a const string_view?
To prevent assignments such as: foo[field::location] = "localhost:8080/index.html"; The statement above has no effect, the `const` annotation prevents it from compiling.