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