Github user ajs6f commented on a diff in the pull request:

    https://github.com/apache/jena/pull/373#discussion_r172649617
  
    --- Diff: 
jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/ResponseResultSet.java
 ---
    @@ -131,26 +130,30 @@ public static void doResponseResultSet(HttpAction 
action, ResultSet resultSet, P
                 contentType = contentTypeTextPlain ;
     
             // Some kind of general dispatch is neater but there are quite a 
few special cases.
    +        // text/plain is special because there is no ResultSetWriter for 
it (yet). 
    +        // Text plain is special because of the formatting by prologue.
    +        // text/plain is not a registered result set language. 
             //
             // JSON is special because of ?callback
    -        // 
    +        //
             // XML is special because of
             // (1) charset is a feature of XML, not the response 
             // (2) ?stylesheet=
             //
             // Thrift is special because
             // (1) charset is meaningless
             // (2) there is no boolean result form.
    -        //
    -        // Text plain is special because of the formatting by prologue.
    -        
    +
    +        if ( Objects.equals(serializationType, contentTypeTextPlain) ) {
    --- End diff --
    
    Oh, I see-- this was cut from down below. NM.


---

Reply via email to