TEST_F(HttpConnectionManagerImplTest, PathWithEscapedSlashesRejectedIfGRPC) {
  // This test is slightly weird as it sends gRPC "request" over H/1 client of the
  // HttpConnectionManagerImplTest. However it is sufficient to test the behavior of path
  // normalization as it is determined by the content type only.
  path_with_escaped_slashes_action_ = envoy::extensions::filters::network::http_connection_manager::
      v3::HttpConnectionManager::UNESCAPE_AND_REDIRECT;
  testPathNormalization(TestRequestHeaderMapImpl{{":authority", "host"},
                                                 {":path", "/abc%2fdef"},
                                                 {":method", "GET"},
                                                 {"content-type", "application/grpc"}},
                        TestResponseHeaderMapImpl{{":status", "200"},
                                                  {"connection", "close"},
                                                  {"grpc-status", "13"},
                                                  {"content-type", "application/grpc"}});
  EXPECT_EQ(1U, stats_.named_.downstream_rq_failed_path_normalization_.value());
}
TEST_F(HttpConnectionManagerImplTest, PathWithEscapedSlashesRejectedIfGRPC) {
   
   
   
  path_with_escaped_slashes_action_ = envoy::extensions::filters::network::http_connection_manager::
      v3::HttpConnectionManager::UNESCAPE_AND_REDIRECT;
  testPathNormalization(TestRequestHeaderMapImpl{{":authority", "host"},
                                                 {":path", "/abc%2fdef"},
                                                 {":method", "GET"},
                                                 {"content-type", "application/grpc"}},
                        TestResponseHeaderMapImpl{{":status", "200"},
                                                  {"connection", "close"},
                                                  {"grpc-status", "13"},
                                                  {"content-type", "application/grpc"}});
  EXPECT_EQ(1U, stats_.named_.downstream_rq_failed_path_normalization_.value());
}