From b2896149c39967dd9d1ee79357bdc53537cfabd7 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Wed, 31 Jan 2024 15:25:47 -0800 Subject: Rename FileBody to HttpBody Now that our custom body type does things more than files, it makes sense to rename it. This commit renames the header itself, then all instances of the class. Tested: Basic GET requests succeed. Change-Id: If4361ac8992fc7c268f48a336707f96e68d3576c Signed-off-by: Ed Tanous --- http/http_response.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'http/http_response.hpp') diff --git a/http/http_response.hpp b/http/http_response.hpp index dca7682a98..afd51c1420 100644 --- a/http/http_response.hpp +++ b/http/http_response.hpp @@ -1,5 +1,5 @@ #pragma once -#include "http_file_body.hpp" +#include "http_body.hpp" #include "logging.hpp" #include "utils/hex_utils.hpp" @@ -23,7 +23,7 @@ struct Response template friend class crow::Connection; - http::response response; + http::response response; nlohmann::json jsonValue; using fields_type = http::header; -- cgit v1.2.3