I am getting this error from a PostMethod using commons-httpclient
No credentials available for DIGEST 'realm'@localhost
and a 401 back from the server.
I followed the example from this post
java client program to ...
I can't find such a stupid information in tutorial, it see something is changed sinse HttpClient 4.0. Can someone send me code there http client is doing request with preconfigured digest ...