diff options
| author | 2022-12-01 05:14:58 +0000 | |
|---|---|---|
| committer | 2022-12-01 05:25:01 +0000 | |
| commit | 45e56e5ee1bdb9e169be957e21a4f7b536e417ff (patch) | |
| tree | 72642028744c278ca476e656933716ac9f7357b8 /include/modules/httpd.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
Yet more stylistic fixes.
Diffstat (limited to 'include/modules/httpd.h')
| -rw-r--r-- | include/modules/httpd.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h index ea01de16a..fe325341a 100644 --- a/include/modules/httpd.h +++ b/include/modules/httpd.h @@ -86,7 +86,7 @@ struct HTTPRequestURI final class HTTPHeaders final { protected: - std::map<std::string,std::string> headers; + std::map<std::string, std::string> headers; public: /** Set the value of a header @@ -125,7 +125,7 @@ public: */ std::string GetHeader(const std::string& name) { - std::map<std::string,std::string>::iterator it = headers.find(name); + std::map<std::string, std::string>::iterator it = headers.find(name); if (it == headers.end()) return std::string(); @@ -137,7 +137,7 @@ public: */ bool IsSet(const std::string& name) { - std::map<std::string,std::string>::iterator it = headers.find(name); + std::map<std::string, std::string>::iterator it = headers.find(name); return (it != headers.end()); } @@ -263,7 +263,10 @@ public: * based upon the response code. */ HTTPDocumentResponse(Module* mod, HTTPRequest& req, std::stringstream* doc, unsigned int response) - : module(mod), document(doc), responsecode(response), src(req) + : module(mod) + , document(doc) + , responsecode(response) + , src(req) { } }; |
