mirror of https://github.com/kiwix/libkiwix.git
Testing of MIME-type of HTTP 500 response
This commit is contained in:
parent
c57b8a0c7c
commit
797f4c432c
|
@ -1054,6 +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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue