[
https://issues.apache.org/jira/browse/DEFT-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069813#comment-13069813
]
Michele ZuccalĂ commented on DEFT-168:
--------------------------------------
I'm too busy at this moment, then I can't produce some useful patch for now:(
But some times ago I've prepared the following simple fix for Etag's handling
in deft:
I've added two methods in HttpResponse class
- setEtag(String) that override default etag generated string, with custom one
- generateEtag(boolean) that enable/disable the automatic etag generation
(default disable)
in this way, i think that the final developer could have better control of etags
> Allow user to specify etag header
> ---------------------------------
>
> Key: DEFT-168
> URL: https://issues.apache.org/jira/browse/DEFT-168
> Project: Deft
> Issue Type: Bug
> Reporter: Adam Lofts
> Priority: Minor
> Attachments:
> 0001-Do-not-set-an-Etag-header-if-the-user-has-already-pr.patch
>
>
> See:
> http://groups.google.com/group/deft-web-server/browse_thread/thread/8658f1b29a71ba64/4d9d249b06828912#4d9d249b06828912
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira