@rivascva/dt-idl 1.1.87 → 1.1.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,7 +76,7 @@ func CommonContext(next http.Handler) http.Handler {
|
|
|
76
76
|
func CommonHeaders(next http.Handler) http.Handler {
|
|
77
77
|
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
|
78
78
|
// set the content type
|
|
79
|
-
w.Header().Add("
|
|
79
|
+
w.Header().Add("Content-Type", "application/json")
|
|
80
80
|
|
|
81
81
|
// set the request id
|
|
82
82
|
if requestId, err := utils.GetRequestIdFromContext(r.Context()); err == nil {
|