Hello Yan,

Regarding "standard" header, I'm sorry to say there is no way to 
override the current behaviour regarding the express requirement of the 
HTP spec (see 
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3).
Having said that, you can use the "etag" header (via the "tag" 
attribute), or use any private header.

Best regards,
Thierry Boileau

> I need to create a custom Last-Modified Header using the miliseconds value in 
> a string format. However, RESTlet API setModificationDate (Date) would always 
> set the header value in a Date format. I cannot add "Last-Modified" as an 
> additional header as the server would return an error saying "Addition of the 
> standard header "Last-Modified" is not allowed. Please use the Restlet API 
> instead." 
>
> Any solution to this? Thanks!
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2389976
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2393093

Reply via email to