1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-07 12:59:45 +00:00

Add CurlWrapper class and use it to escape GET/POST values.

Use the new code to print the values from the request.
This commit is contained in:
King_DuckZ 2017-04-06 20:15:44 +01:00
parent 6a502df135
commit cc20a8ccfb
10 changed files with 143 additions and 17 deletions

View file

@ -1,13 +1,13 @@
#pragma once
#include <boost/container/flat_map.hpp>
#include <boost/utility/string_ref.hpp>
#include <string>
namespace tawashi {
class CGIEnv;
namespace cgi {
typedef boost::container::flat_map<boost::string_ref, boost::string_ref> PostMapType;
typedef boost::container::flat_map<std::string, std::string> PostMapType;
const PostMapType& read_post (const CGIEnv& parEnv);
} //namespace cgi