Hi
I just take "Cache-Control":"no-cache" for example.
What if I want to add additional header information, which is correct ?

data.getHeaders().addHeader("key", "value");  ?
or
((WebResponse) attributes.getResponse()).addHeader("key" , "value"); ?

Thanks.

Reply via email to