Open cmazakas opened 8 months ago
In some cases, it's easiest to determine the validity of a message once the headers are complete (i.e. the closing \r\n has been parsed).
\r\n
To aid users in checking if their messages are rfc-compliant, we introduce a prototype API:
result<void> validate(response_view const&); result<void> validate(request_view const&);
Validity Requirements (incomplete):
In some cases, it's easiest to determine the validity of a message once the headers are complete (i.e. the closing
\r\n
has been parsed).To aid users in checking if their messages are rfc-compliant, we introduce a prototype API:
Validity Requirements (incomplete):