mdesalvo / RDFSharp

Lightweight and friendly .NET library for realizing Semantic Web applications
Apache License 2.0
118 stars 26 forks source link

Incorrect detection of response ContentType when dereferencing Uris #265

Closed mdesalvo closed 2 years ago

mdesalvo commented 2 years ago

Sometimes the ContentType property of HttpWebResponse isn't valorized, we should cascade to a lookup in the headers and then at last, if no content type has been found, proceed with a reasonable default (RDF/XML for graphs, N-QUADS for stores).