TEST_P(DownstreamProtocolIntegrationTest, PathWithFragmentRejectedByDefault) {
  initialize();

  codec_client_ = makeHttpConnection(makeClientConnection((lookupPort("http"))));
  Http::TestRequestHeaderMapImpl request_headers{{":method", "GET"},
                                                 {":path", "/some/path#fragment"},
                                                 {":scheme", "http"},
                                                 {":authority", "foo.com"}};
  IntegrationStreamDecoderPtr response = codec_client_->makeRequestWithBody(request_headers, 10);
  ASSERT_TRUE(response->waitForEndStream());
  ASSERT_TRUE(response->complete());
  EXPECT_EQ("400", response->headers().getStatusValue());
}
TEST_P(DownstreamProtocolIntegrationTest, PathWithFragmentRejectedByDefault) {
  initialize();

  codec_client_ = makeHttpConnection(makeClientConnection((lookupPort("http"))));
  Http::TestRequestHeaderMapImpl request_headers{{":method", "GET"},
                                                 {":path", "/some/path#fragment"},
                                                 {":scheme", "http"},
                                                 {":authority", "foo.com"}};
  IntegrationStreamDecoderPtr response = codec_client_->makeRequestWithBody(request_headers, 10);
  ASSERT_TRUE(response->waitForEndStream());
  ASSERT_TRUE(response->complete());
  EXPECT_EQ("400", response->headers().getStatusValue());
}