Explorar el Código

feat(api): add 'cookie' to passthroughSkipHeaderNamesLower

CaIon hace 4 semanas
padre
commit
b55e42eda7
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      relay/channel/api_request.go

+ 2 - 0
relay/channel/api_request.go

@@ -58,6 +58,8 @@ var passthroughSkipHeaderNamesLower = map[string]struct{}{
 	"transfer-encoding":   {},
 	"upgrade":             {},
 
+	"cookie": {},
+
 	// Additional headers that should not be forwarded by name-matching passthrough rules.
 	"host":           {},
 	"content-length": {},