Hi Guys,
I'm having trouble setting the header date when using the restlet client.
I thought it was just a simple matter of setting the request's date.. i.e.
// Set the request date
request.setDate(cal.getTime());
but that didnt seem to work.
Neither does:
extraHeaders.add(HttpConstants.HEADER_DATE , DateUtils.format(cal.getTime(),
DateUtils.FORMAT_RFC_1123.get(0)));
which the current reslet implementation (currently using m6) prohibits. Could
someone give me a clue as to what i'm doing wrong?
Regards,
--KD
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2433641