Grails - add header to every response

Viewed 12315

How could I add a response header - say X-Time that would look something like:

X-Time: 112

Where the value given would be the time in milliseconds that the response took to process? Is there a really simple way to add this to an Grails app? Not something I want to leave on permanently but would be nice to have while developing my app.

1 Answers
Related