test/unittests/httpparsing.cpp
// Test a parameter that appears multiple times, names are not case sensitive.

Test a parameter that appears multiple times, names are not case sensitive.
Test a parameter that appears multiple times names are not case sensitive .
TEST(HTTPParsing, getrepeated) {
	Parameters params;
	parseCGIEnvironment(params, "GET", "/cgi-bin/bla",
			"PARAM=one&param=two&pArAm=%C3%A4%C3%B6%C3%BC%C3%9F");
	EXPECT_EQ(params.get("param", ""), "äöüß");
    EXPECT_EQ(params.getAll("param")[0], "one");
    EXPECT_EQ(params.getAll("param").size(), 3);
}
TEST ( HTTPParsing , getrepeated ) { Parameters params ; parseCGIEnvironment ( params , " " , " " , " " ) ; EXPECT_EQ ( params . get ( " " , " " ) , " EXPECT_EQ ( params . getAll ( " " ) [ 0 ] , " " ) ; EXPECT_EQ ( params . getAll ( " " ) . size ( ) , 3 ) ; }
Test a parameter that appears multiple times, names are not case sensitive.
Test a parameter that appears multiple times names are not case sensitive .