Add http accept header for turtle
@@ -97,6 +97,8 @@ class URLInputSource(InputSource):
myheaders['Accept'] = 'application/rdf+xml, */*;q=0.1'
elif format == 'n3':
myheaders['Accept'] = 'text/n3, */*;q=0.1'
+ elif format == 'turtle':
+ myheaders['Accept'] = 'text/turtle, */*;q=0.1'
elif format == 'nt':
myheaders['Accept'] = 'text/plain, */*;q=0.1'
elif format == 'json-ld':
