Retired HTTP500Response::generateResponseObject()

... whereupon `ContentResponseBlueprint::generateResponseObject()` (and
`ContentResponseBlueprint` as a whole) no longer needs to be
polymorphic.
This commit is contained in:
Veloman Yunkan
2023-12-06 14:45:04 +04:00
parent 797f4c432c
commit 54191bcfab
3 changed files with 2 additions and 19 deletions

View File

@ -1054,7 +1054,7 @@ TEST_F(ServerTest, 500)
const auto r = zfs1_->GET("/ROOT%23%3F/content/poor/A/redirect_loop.html");
EXPECT_EQ(r->status, 500);
EXPECT_EQ(r->body, expectedBody);
EXPECT_EQ(r->get_header_value("Content-Type"), "text/html;charset=utf-8");
EXPECT_EQ(r->get_header_value("Content-Type"), "text/html; charset=utf-8");
}
}