From 9f6e099f109e2aa242172f876eaffe69aacfb691 Mon Sep 17 00:00:00 2001 From: The-EDev Date: Wed, 9 Feb 2022 20:57:12 +0300 Subject: [PATCH] fixed issue where content length was being set but body wasn't being sent --- include/crow/http_response.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/crow/http_response.h b/include/crow/http_response.h index 505c7c3f1..20d5157ce 100644 --- a/include/crow/http_response.h +++ b/include/crow/http_response.h @@ -243,6 +243,7 @@ namespace crow else { code = 404; + file_info.path.clear(); this->end(); } }