diff options
Diffstat (limited to 'header-value-parser.c')
-rw-r--r-- | header-value-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/header-value-parser.c b/header-value-parser.c index 2a1bf74..e3c4107 100644 --- a/header-value-parser.c +++ b/header-value-parser.c @@ -128,7 +128,7 @@ fhp_header_value_parser_done(fhp_ctx_t * const ctx) { switch (ctx->body_type) { case FHP_BODY_TYPE_NONE: // set body type - ctx->body_type = FHP_BODY_TYPE_TRANSFER_ENCODING; + ctx->body_type = FHP_BODY_TYPE_CONTENT_LENGTH; break; case FHP_BODY_TYPE_CONTENT_LENGTH: |