summaryrefslogtreecommitdiff
path: root/fhp.c
diff options
context:
space:
mode:
Diffstat (limited to 'fhp.c')
-rw-r--r--fhp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fhp.c b/fhp.c
index 70a3858..416d054 100644
--- a/fhp.c
+++ b/fhp.c
@@ -642,7 +642,9 @@ retry:
CASE_OWS_CHARS
// ows-fold
- // add to buffer
+ // add space to buffer
+ // folding to ' ', as per RFC7230 3.2.4
+ // https://tools.ietf.org/html/rfc7230#section-3.2.4
if (!fhp_buf_push(fhp, FHP_TOKEN_HEADER_VALUE_FRAGMENT, ' '))
return FHP_ERR_CB;