Add custom headers in AbstractRestResponse childs alternatives

Howdy guys!!

I have tried to use the addHeaders that comes with the not yet available
new code of AbstractRestReponse without noticing that the modification is
just a few days ago... it should be in my 0.90 jar but its not... (this
drove me crazy)

https://github.com/elasticsearch/elasticsearch/blob/0.90/src/main/java/org/elasticsearch/rest/AbstractRestResponse.java (note
the branch and not the master)

I need to put custom headers in the rest response which options do I have?
I would be really interested in other solutions since Im using 0.19 still
in production and I would like to have my plugin working with it...

Any help would be really welcome

Thanks a lot guys

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I have seen also the code of HttpRedirectRestResponse just in case was
using headers but its using HTML
Would not be better yo use the Location: header?
I wonder if curl can follow that redirection...

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.