Skip to content

Commit

Permalink
properly set content-type header on server endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Volz authored and dewrich committed Oct 6, 2017
1 parent c9f5408 commit a1aa5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_ops/traffic_ops_golang/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func serversHandler(db *sqlx.DB) AuthRegexHandlerFunc {
return
}

w.Header().Set(api.ApplicationJson, api.ApplicationJson)
w.Header().Set(api.ContentType, api.ApplicationJson)
fmt.Fprintf(w, "%s", respBts)
}
}
Expand Down

0 comments on commit a1aa5d8

Please sign in to comment.