It might make more sense to insert the header before chain.doFilter

  - If we do not do it before, we should probably use a finally block for setting the header
  - Setting the header gives the application an opportunity to change the header
  - If we do not set the header before hand, the response may already be committed. In this case, the header would not get set. By setting the header before the chain.doFilter we avoid this complexity