diff options
Diffstat (limited to 'util/miniwebserver.h')
-rw-r--r-- | util/miniwebserver.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/miniwebserver.h b/util/miniwebserver.h index 60bf69a1ec1..bb6bf4bf318 100644 --- a/util/miniwebserver.h +++ b/util/miniwebserver.h @@ -2,16 +2,16 @@ /** * Copyright (C) 2008 10gen Inc. -* +* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. -* +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. -* +* * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ @@ -20,7 +20,7 @@ #include "../grid/message.h" -class MiniWebServer { +class MiniWebServer { public: MiniWebServer(); @@ -31,10 +31,10 @@ public: const char *rq, // the full request string url, // set these and return them: - string& responseMsg, + string& responseMsg, int& responseCode, vector<string>& headers // if completely empty, content-type: text/html will be added - ) = 0; + ) = 0; private: void accepted(int s); |