Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: Obtaining map data through a proxy server with authentication (class "Tiles")

There is no way to do it indeed, which is quite deplorable. I've just made some quick fix - Tiles.SetProxyAuthorization method. It uses BASIC authorization scheme. Http client will use provided credentials only if initial request without credentials returned 401 or 407. Presumably this will decrease performance, but It's the standard behavior of AtlHttpClient (http://msdn.microsoft.com/en-us/library/7shxzbwb(v=vs.80).aspx ). I didn't test the method with actual proxy so can't be sure that implementation is correct, apart from the fact that it doesn't break regular loading. If you have further ideas on how to improve this, please let us know. @Paul, I would much appreciate if you don't use the 'lead' word.

Viewing all articles
Browse latest Browse all 2341

Trending Articles