mirror of
https://github.com/matrix-construct/construct
synced 2024-11-28 17:52:54 +01:00
ircd::http: Allow empty header values.
This commit is contained in:
parent
7be2582714
commit
d4d8063dee
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ namespace ircd::http::parser
|
|||
const rule<string_view> reason { str ,"reason" };
|
||||
|
||||
const rule<string_view> head_key { raw[+(char_ - (illegal | ws | colon))] ,"head key" };
|
||||
const rule<string_view> head_val { str ,"head value" };
|
||||
const rule<string_view> head_val { -str ,"head value" };
|
||||
const rule<http::header> header { head_key >> *ws >> colon >> *ws >> head_val ,"header" };
|
||||
const rule<> headers { header % (*ws >> CRLF) ,"headers" };
|
||||
|
||||
|
|
Loading…
Reference in a new issue