We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d17057 commit 89ef600Copy full SHA for 89ef600
src/lib/tentris/http/SparqlEndpoint.hpp
@@ -191,6 +191,7 @@ namespace tentris::http {
191
resp.append_header(restinio::http_field::content_type, "application/sparql-results+json");
192
193
SparqlJsonResultSAXWriter<RESULT_TYPE> json_result(vars, 1'000UL);
194
+ json_result.close();
195
resp.set_body(std::string{json_result.string_view()});
196
resp.done();
197
return Status::OK;
0 commit comments