Android Question HTTP download to secured page

tchart

Well-Known Member
Licensed User
Longtime User
I am trying to download a web page using HttpUtils2. The page is secured using Basic authentication.

If I try to download the web page with no username & password I get a 401 unauthorized error which is expected.

However if I supply the correct username and password I get an error of;

Error: org.apache.http.client.ClientProtocolException

Searching on Google this appears to have something to do with pre-emptive authentication.

Has anybody got a work around for this in B4A?

Thanks
 
Top