We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dbde70 commit 016bd42Copy full SHA for 016bd42
src/events/http/HttpServer.js
@@ -685,11 +685,8 @@ export default class HttpServer {
685
headerValue = valueArray[3]
686
? jsonPath(result, valueArray.slice(3).join('.'))
687
: result
688
- if (headerValue === undefined || headerValue === null) {
689
- headerValue = ''
690
- } else {
691
- headerValue = headerValue.toString()
692
- }
+
+ headerValue = headerValue == null ? '' : String(headerValue)
693
} else {
694
log.notice()
695
0 commit comments