Return format, not MIME type from FormatGuesser
This commit is contained in:
parent
7099ec3a35
commit
30019338f1
@ -87,7 +87,7 @@ public class TextFormatGuesser implements FormatGuesser {
|
||||
return "text/json";
|
||||
} else if (openAngleBrackets >= 5 && closeAngleBrackets >= 5) {
|
||||
if (trailingPeriods > 0) {
|
||||
return "text/rdf+n3";
|
||||
return "text/rdf/n3";
|
||||
} else if (firstChar == '<') {
|
||||
return "text/xml";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user