Click or drag to resize

SparqlRemoteEndpointResultsAcceptHeader Property

Gets/Sets the Accept Header sent with ASK/SELECT queries.

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public string ResultsAcceptHeader { get; set; }

Property Value

Type: String
Remarks

Can be used to workaround buggy endpoints which don't like the broad Accept Header that dotNetRDF sends by default. If not set or explicitly set to null the library uses the default header generated by HttpSparqlAcceptHeader.

See Also