Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 509f583

Browse files
committed
Fix problem caused by yhirose#1931.
1 parent 2d01e71 commit 509f583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2920,7 +2920,7 @@ TEST_F(ServerTest, GetEmptyFile) {
29202920
auto res = cli_.Get("/empty_file");
29212921
ASSERT_TRUE(res);
29222922
EXPECT_EQ(StatusCode::OK_200, res->status);
2923-
EXPECT_EQ("text/plain", res->get_header_value("Content-Type"));
2923+
EXPECT_EQ("application/octet-stream", res->get_header_value("Content-Type"));
29242924
EXPECT_EQ(0, std::stoi(res->get_header_value("Content-Length")));
29252925
EXPECT_EQ("", res->body);
29262926
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /