Renamed to HeadersFilter and extending OncePerRequestFilter, I also add the headers to the response before passing it on.