summaryrefslogtreecommitdiff
path: root/util/miniwebserver.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-03-12 15:00:01 -0500
committerEliot Horowitz <eliot@10gen.com>2010-03-12 15:00:01 -0500
commit0797f888001b1fbd4b0c9a802911f315cfe20dd6 (patch)
tree3aead5d3a4e020deb025608df8b690ac233faac9 /util/miniwebserver.h
parent81ff09077c3afce308380751515fec907688966e (diff)
downloadmongo-0797f888001b1fbd4b0c9a802911f315cfe20dd6.tar.gz
use BSONObj for params so order is preserved
Diffstat (limited to 'util/miniwebserver.h')
-rw-r--r--util/miniwebserver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/miniwebserver.h b/util/miniwebserver.h
index 12aa56c7ebd..bdd2873a381 100644
--- a/util/miniwebserver.h
+++ b/util/miniwebserver.h
@@ -17,7 +17,9 @@
#pragma once
+#include "../stdafx.h"
#include "message.h"
+#include "../db/jsobj.h"
namespace mongo {
@@ -45,7 +47,7 @@ namespace mongo {
string parseURL( const char * buf );
string parseMethod( const char * headers );
string getHeader( const char * headers , string name );
- void parseParams( map<string,string> & params , string query );
+ void parseParams( BSONObj & params , string query );
static const char *body( const char *buf );
static string urlDecode(const char* s);