Searched refs:GetCanonicalHeaderName (Results 1 – 3 of 3) sorted by relevance
/external/libbrillo/brillo/http/ |
D | http_utils_unittest.cc | 486 TEST(HttpUtils, GetCanonicalHeaderName) { in TEST() argument 487 EXPECT_EQ("Foo", GetCanonicalHeaderName("foo")); in TEST() 488 EXPECT_EQ("Bar", GetCanonicalHeaderName("BaR")); in TEST() 489 EXPECT_EQ("Baz", GetCanonicalHeaderName("BAZ")); in TEST() 490 EXPECT_EQ("Foo-Bar", GetCanonicalHeaderName("foo-bar")); in TEST() 491 EXPECT_EQ("Foo-Bar-Baz", GetCanonicalHeaderName("foo-Bar-BAZ")); in TEST() 492 EXPECT_EQ("Foo-Bar-Baz", GetCanonicalHeaderName("FOO-BAR-BAZ")); in TEST() 493 EXPECT_EQ("Foo-Bar-", GetCanonicalHeaderName("fOO-bAR-")); in TEST() 494 EXPECT_EQ("-Bar", GetCanonicalHeaderName("-bAR")); in TEST() 495 EXPECT_EQ("", GetCanonicalHeaderName("")); in TEST() [all …]
|
D | http_utils.h | 314 BRILLO_EXPORT std::string GetCanonicalHeaderName(const std::string& name);
|
D | http_utils.cc | 421 std::string GetCanonicalHeaderName(const std::string& name) { in GetCanonicalHeaderName() function
|