cgv
http_request.h
1 #pragma once
2 
3 #include <string>
4 #include <map>
5 
6 namespace cgv {
7  namespace os {
8 
11 {
13  std::string request;
16  std::string method;
19  std::string path;
21  std::map<std::string, std::string> params;
26  std::string username;
28  std::string password;
30 
31  std::string accept;
32  std::string accept_language;
33  std::string accept_encoding;
34  std::string user_agent;
35 
42  std::string status;
45  std::string auth_realm;
47  std::string answer;
48 };
49 
50  }
51 }
cgv::os::http_request::answer
std::string answer
set this member to the html page to be returned
Definition: http_request.h:47
cgv::os::http_request::username
std::string username
user name of authentification
Definition: http_request.h:26
cgv::os::http_request::auth_realm
std::string auth_realm
Definition: http_request.h:45
cgv::os::http_request::request
std::string request
this is the complete request received by the server
Definition: http_request.h:13
cgv::os::http_request::password
std::string password
password of authentification
Definition: http_request.h:28
cgv::os::http_request
structure that contains all input and output parameters of a http request
Definition: http_request.h:11
cgv::os::http_request::status
std::string status
Definition: http_request.h:42
cgv::os::http_request::authentication_given
bool authentication_given
Definition: http_request.h:24
cgv
the cgv namespace
Definition: vr_calib.cxx:9