summaryrefslogtreecommitdiffstats
path: root/WebServer/WebServer.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-31 01:38:18 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-31 01:38:18 +0100
commitc142424571a3744e8b68ec9746eaa05505c03af5 (patch)
tree9a8950e671cafbe4eddc096cdc648d7876c1b1de /WebServer/WebServer.h
parentReplaced most FILE operations with a cFile object (diff)
downloadcuberite-c142424571a3744e8b68ec9746eaa05505c03af5.tar
cuberite-c142424571a3744e8b68ec9746eaa05505c03af5.tar.gz
cuberite-c142424571a3744e8b68ec9746eaa05505c03af5.tar.bz2
cuberite-c142424571a3744e8b68ec9746eaa05505c03af5.tar.lz
cuberite-c142424571a3744e8b68ec9746eaa05505c03af5.tar.xz
cuberite-c142424571a3744e8b68ec9746eaa05505c03af5.tar.zst
cuberite-c142424571a3744e8b68ec9746eaa05505c03af5.zip
Diffstat (limited to '')
-rw-r--r--WebServer/WebServer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebServer/WebServer.h b/WebServer/WebServer.h
index 844af0c46..a78fc44e4 100644
--- a/WebServer/WebServer.h
+++ b/WebServer/WebServer.h
@@ -41,17 +41,21 @@ public:
http_request()
: s_( 0 )
, authentication_given_(false)
+ , content_length_( 0 )
{}
Socket* s_;
std::string method_;
std::string path_;
std::map<std::string, std::string> params_;
+ std::map<std::string, std::string> params_post_;
std::string accept_;
std::string accept_language_;
std::string accept_encoding_;
std::string user_agent_;
+ int content_length_;
+ std::string content_type_;
/* status_: used to transmit server's error status, such as
o 202 OK