From 509f583dca0ae55c22e5a59ae12a2d3f160e8379 Mon Sep 17 00:00:00 2001 From: yhirose Date: Mon, 9 Sep 2024 19:19:52 -0400 Subject: [PATCH] Fix problem caused by #1931. --- test/test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.cc b/test/test.cc index a0fd061529..05a9744973 100644 --- a/test/test.cc +++ b/test/test.cc @@ -2920,7 +2920,7 @@ TEST_F(ServerTest, GetEmptyFile) { auto res = cli_.Get("/empty_file"); ASSERT_TRUE(res); EXPECT_EQ(StatusCode::OK_200, res->status); - EXPECT_EQ("text/plain", res->get_header_value("Content-Type")); + EXPECT_EQ("application/octet-stream", res->get_header_value("Content-Type")); EXPECT_EQ(0, std::stoi(res->get_header_value("Content-Length"))); EXPECT_EQ("", res->body); }