|
@@ -3804,8 +3804,7 @@ TEST_F(ServerTest, GetStreamedWithRangeError) {
|
|
|
TEST_F(ServerTest, GetRangeWithMaxLongLength) {
|
|
TEST_F(ServerTest, GetRangeWithMaxLongLength) {
|
|
|
auto res = cli_.Get(
|
|
auto res = cli_.Get(
|
|
|
"/with-range",
|
|
"/with-range",
|
|
|
- {{"Range",
|
|
|
|
|
- "bytes=0-" + std::to_string(std::numeric_limits<long>::max())},
|
|
|
|
|
|
|
+ {{"Range", "bytes=0-" + std::to_string(std::numeric_limits<long>::max())},
|
|
|
{"Accept-Encoding", ""}});
|
|
{"Accept-Encoding", ""}});
|
|
|
ASSERT_TRUE(res);
|
|
ASSERT_TRUE(res);
|
|
|
EXPECT_EQ(StatusCode::PartialContent_206, res->status);
|
|
EXPECT_EQ(StatusCode::PartialContent_206, res->status);
|