Thanks Tommmmmm! I get it! Thanks for your help... Bashiro Drammen-Norway
-----Original Message----- From: "tommmmmm" [[email protected]] Date: 04/06/2012 07:37 To: "HttpClient User Discussion" <[email protected]> Subject: Re: Base64 Base64 is done when you do basic authorization. So, when you set your credentials and give basic authorization top priority you will see a header like this being sent: Authorization: Basic shfo34209ujasdja09dj23d9jdpsj#$Dasd You can see all the headers by specifing logs to be debug level (see google-> httpClient logs settings) The encoding is done automatically by the HttpClient Is it possible to get the encoded string before sending, if that's what you want - I don't know. Try getting all the headers/params of the request and iterate through them to look for "Authorization" header. On 6 April 2012 06:54, Bashiro <[email protected]> wrote: > Hello, > Could anyone point to me any example of "how to" code Base 64 encoding > using the HttpClient or HttpCore components > or using the commons codecs? I cannot find any example > > Bashiro > Drammen-Norway > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Tomasz P. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
