Archive for the '.Net, C#' Category

Basic Auth Webservice Client with .NET

Wednesday, February 11th, 2009

If a webservice requires basic http authentication (like the ones from wortschatz.uni-leipzig.de) and it doesn’t respond to a request without authentication with the proper 401 response (for example with a 500), you cannot use this service with the standard .NET client, because this client doesn’t send the header with the first request. Only after a 401 response, the header is sent. (more…)