diff options
-rw-r--r-- | src/http/HTTPClientSender.cpp | 7 | ||||
-rw-r--r-- | wscript | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/http/HTTPClientSender.cpp b/src/http/HTTPClientSender.cpp index ea983ca4..1dfc1da7 100644 --- a/src/http/HTTPClientSender.cpp +++ b/src/http/HTTPClientSender.cpp @@ -60,12 +60,13 @@ HTTPClientSender::put(const URI& uri, : uri.str(); - Sord::Model model(*_engine.world()->rdf_world()); + const Shared::World& world = _engine.world(); + Sord::Model model(world.rdf_world()); for (Resource::Properties::const_iterator i = properties.begin(); i != properties.end(); ++i) model.add_statement( - Sord::URI(*_engine.world()->rdf_world(), request_uri), - AtomRDF::atom_to_node(model, i->first.str()), + Sord::URI(world.rdf_world(), request_uri), + Sord::URI(world.rdf_world(), i->first), AtomRDF::atom_to_node(model, i->second)); const string str = model.write_to_string("", SERD_TURTLE); @@ -41,6 +41,9 @@ def configure(conf): autowaf.configure(conf) conf.line_just = 48 + Options.options.no_http = True + Options.options.no_osc = True + autowaf.display_header('Ingen Configuration') autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.14.0', mandatory=True) |