Set correct response headers.