http: multiple response.WriteHeader calls
We can't change the http status code here, because the response has been written.