@middy/http-response-serializer
Advanced tools
Comparing version 4.0.9 to 4.0.10
@@ -14,3 +14,5 @@ import { normalizeHttpResponse } from '@middy/util'; | ||
normalizeHttpResponse(request); | ||
if (request.response.headers['Content-Type']) return; | ||
if (request.response.headers['Content-Type'] ?? request.response.headers['content-type']) { | ||
return; | ||
} | ||
let types; | ||
@@ -17,0 +19,0 @@ if (request.event.requiredContentType) { |
{ | ||
"name": "@middy/http-response-serializer", | ||
"version": "4.0.9", | ||
"version": "4.0.10", | ||
"description": "The Http Serializer middleware lets you define serialization mechanisms based on the current content negotiation.", | ||
@@ -69,8 +69,8 @@ "type": "module", | ||
"@hapi/accept": "6.0.0", | ||
"@middy/util": "4.0.9" | ||
"@middy/util": "4.0.10" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "4.0.9" | ||
"@middy/core": "4.0.10" | ||
}, | ||
"gitHead": "02210765f9154584c242e4440d086abcf3321028" | ||
"gitHead": "e2a97d380fc4150781004092ea054f5d0fc7a8c0" | ||
} |
Sorry, the diff of this file is not supported yet
10753
140
+ Added@middy/util@4.0.10(transitive)
- Removed@middy/util@4.0.9(transitive)
Updated@middy/util@4.0.10