I'm attempting to send a REST message to an endpoint via the Restlet component. The service requires you to send the session ID that was set as a cookie for all subsequent requests - so I first authenticate, receive an ID in the Set-Cookie header on the HTTP response, then need to send the same ID back with the Cookie header on subsequent HTTP requests.
Camel doesn't appear to support setting the Cookie header explicitly, and the Restlet API won't let me set it via org.restlet.http.headers as the Restlet API complains that "Addition of the standard header 'Cookie' is not allowed. Please use the Restlet API instead." Is there any way to send a Cookie via a restlet: component? -- View this message in context: http://old.nabble.com/Setting-Cookie-Header-in-Restlet-Request-tp27839785p27839785.html Sent from the Camel - Users mailing list archive at Nabble.com.
