diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2015-06-25 02:14:18 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2015-06-25 02:14:18 +0200 |
| commit | 85adf26a787b33d69d07df0dc786516fed800e21 (patch) | |
| tree | 12de4b0cae3999f3da7bbf3d21c631eecf6bf4a3 /src/cgi.hh | |
| parent | 0c55606145b6c5d9a303b19b3dba4996ec3ed3a9 (diff) | |
Add basic auth support
Diffstat (limited to 'src/cgi.hh')
| -rw-r--r-- | src/cgi.hh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -27,8 +27,11 @@ public: // Will first try post_data and fallback to query_data void get_data(std::map<std::string,std::string>* data); virtual std::string request_path() = 0; + virtual std::string request_uri() = 0; + virtual std::string remote_addr() = 0; virtual request_type request_type() = 0; virtual std::string content_type() = 0; + virtual std::string http_auth() = 0; static int run(std::function<bool(CGI*)> handle_request); |
