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 d2e6b36 commit caede4dCopy full SHA for caede4d
src/utils.ts
@@ -136,7 +136,7 @@ function validateHeaderName(
136
requestId?: string,
137
req?: Request,
138
): void {
139
- if (!name || typeof name !== "string") {
+ if (typeof name !== "string") {
140
const error = new Error("Header name must be a non-empty string")
141
if (logger && req) {
142
logger.logSecurityEvent(
0 commit comments