소스 검색

feat(api): add 'cookie' to passthroughSkipHeaderNamesLower

CaIon 4 주 전
부모
커밋
b55e42eda7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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": {},