1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-16 07:09:44 +00:00

Write headers later in request

This commit is contained in:
Darren Shepherd
2017-12-29 19:14:24 -07:00
parent 16783cf1d3
commit 790bd1ec07
4 changed files with 5 additions and 8 deletions

View File

@@ -170,10 +170,6 @@ func (s *Server) handle(rw http.ResponseWriter, req *http.Request) (*types.APICo
return apiRequest, err
}
if err := addCommonResponseHeader(apiRequest); err != nil {
return apiRequest, err
}
action, err := ValidateAction(apiRequest)
if err != nil {
return apiRequest, err