10 std::vector<cgicc::FormEntry>
entries = reader.getElements();
16 for (
unsigned int i = 0;
i < entries.size();
i++)
18 std::string
name = entries[
i].getName();
19 std::string
value = entries[
i].getValue();
23 std::pair<std::string, std::string> map_entry(name, value);
24 form_info.insert(map_entry);
33 const cgicc::CgiEnvironment&
env = reader.getEnvironment();
35 cgicc::const_cookie_iterator it;
36 for (it = env.getCookieList().begin();
37 it != env.getCookieList().end();
40 if (name == it->getName())
42 value = it->getValue();
void read_form(std::multimap< std::string, std::string > &form_info)
std::string read_cookie(std::string name)