Hi ElChe, I suggest that you have a look at this page:
"Mapping HTTP semantics" http://wiki.restlet.org/docs_2.0/130-restlet.html You'll see that the Request#challengeResponse property can be used to send you authentication information. The "Authorization" header will be set automatically for you. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : [email protected] [mailto:[email protected]] Envoyé : lundi 31 août 2009 21:11 À : [email protected] Objet : How to set Http header authorization Hi. I started trying out the restlet library just today, and I feel like I'm hitting a brick wall when it comes to the http header "Authorization". The webservice I'm trying to write a client for, is secured by creating a signature based on some shared secret between client and service. This signature should be put in the Authorization header of each request to validate that I'm a trusted application. I've read a bit on the mailing lists and googled quite a bit, but I can't seem to find anything that works for me. Hope someone can help. Kind regards, ElChe ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23894 22 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2401048

