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:
parent
6a502df135
commit
cc20a8ccfb
10 changed files with 143 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue