From 2ba7b61143db7939201afa35328616edb2dc03b5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Dec 2010 19:41:56 +0000 Subject: Take RDF serialisation language as a parameter (rather than hardcoded "turtle"). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2753 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/HTTPEngineSender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/HTTPEngineSender.cpp b/src/client/HTTPEngineSender.cpp index c1261102..7f41dca0 100644 --- a/src/client/HTTPEngineSender.cpp +++ b/src/client/HTTPEngineSender.cpp @@ -128,7 +128,7 @@ HTTPEngineSender::put(const URI& uri, i->first.str(), AtomRDF::atom_to_node(model, i->second)); - const string str = model.serialise_to_string(); + const string str = model.serialise_to_string("turtle"); SoupMessage* msg = soup_message_new(SOUP_METHOD_PUT, full_uri.c_str()); assert(msg); soup_message_set_request(msg, "application/x-turtle", SOUP_MEMORY_COPY, str.c_str(), str.length()); -- cgit v1.2.1