MCPcopy Create free account
hub / github.com/apache/brpc / check_header

Method check_header

test/brpc_http_rpc_protocol_unittest.cpp:1129–1133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127
1128private:
1129 void check_header(brpc::Controller* cntl) {
1130 const std::string* test_header = cntl->http_request().GetHeader(TEST_PROGRESSIVE_HEADER);
1131 GOOGLE_CHECK_NOTNULL(test_header);
1132 CHECK_EQ(*test_header, TEST_PROGRESSIVE_HEADER_VAL);
1133 }
1134};
1135
1136TEST_F(HttpTest, server_end_read_short_body_progressively) {

Callers

nothing calls this directly

Calls 1

GetHeaderMethod · 0.80

Tested by

no test coverage detected