I need to login to some servers with httpclient. There is a code which runs 2 versions. Without arguments will login at server with Java Api, and with any arguments will login the same server with httpclient. But in second case we will not get the response from server (after "Answer: "). Why it happens and how to fix it?