diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/HTTPEngineReceiver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/HTTPEngineReceiver.cpp b/src/engine/HTTPEngineReceiver.cpp index b2d3ca99..d4c0ac1e 100644 --- a/src/engine/HTTPEngineReceiver.cpp +++ b/src/engine/HTTPEngineReceiver.cpp @@ -124,7 +124,7 @@ HTTPEngineReceiver::message_callback(SoupServer* server, SoupMessage* msg, const SharedPtr<Serialiser> serialiser = me->_engine.world()->serialiser; - const string base_uri = ""; + const string base_uri = "path:/"; const char* mime_type = "text/plain"; if (!strcmp(msg->method, SOUP_METHOD_PUT)) { @@ -232,7 +232,7 @@ HTTPEngineReceiver::message_callback(SoupServer* server, SoupMessage* msg, const return; } - parser->parse_string(me->_engine.world(), me, msg->request_body->data, ""); + parser->parse_string(me->_engine.world(), me, msg->request_body->data, base_uri); // Load object soup_message_set_status(msg, SOUP_STATUS_NOT_IMPLEMENTED); |