cppalliance / http_proto

HTTP/1 parsing and serialization algorithms using C++11
https://develop.http-proto.cpp.al/
Boost Software License 1.0
23 stars 10 forks source link

`fields_base::set` postconditions #60

Open cmazakas opened 8 months ago

cmazakas commented 8 months ago

It should be documented explicitly in the API for fields_base::set that both the key and value are checked for grammatical correctness according to the rfc and that if the field-value contains an obs-fold that it's appropriately replaced with SP which is documented here.