Click or drag to resize

OptionsForceHttpBasicAuth Property

Gets/Sets whether Basic HTTP authentication should be forced.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static bool ForceHttpBasicAuth { get; set; }

Property Value

Type: Boolean
Remarks

There have been reported problems where some servers don't cope nicely with the HTTP authentication challenge response procedure resulting in failed HTTP requests. If the server only uses Basic HTTP authentication then you can opt to force dotNetRDF to always include the HTTP basic authentication header in requests and thus workaround this problem.

Warning: Under Silverlight this will only work correctly if usernames and passwords are composed only of characters within the ASCII range.

See Also