No the write() methods do not set any kind of HTTP header, it is separate infrastructure from any HTTP request/response machinery
Fuseki has separate machinery that determines the appropriate writer to be used based on the users Accept header and then sets the appropriate Content-Type header before writing out the response Rob On 1/9/13 11:01 AM, "Olivier Rossel" <[email protected]> wrote: >> The current accept negotiation in Fuseki is based on >> >> application/rdf+xml, text/turtle, application/turtle, >>application/x-turtle, >> application/n-triples, text/plain > >Interesting, thanks for that list! > > >> "Accept: text/turtle" is to be preferred. >> >> r.write(byteArrayOutputStream, "TTL"); > >So the r.write(..., ...) method effectively set an Accept header, true?
