fix: 修复 cookie 解析器并也尝试从请求头读 cookie

This commit is contained in:
70CentsApple
2026-10-19 14:23:57 +08:00
parent 896a62ec96
commit 29c48e2ef9
8 changed files with 84 additions and 29 deletions
+1
View File
@@ -1,5 +1,6 @@
export interface RequestBaseConfig {
cookie?: string
headers?: Record<string, string | string[]>
realIP?: string // IPv4/IPv6 filled in X-Real-IP
proxy?: string // HTTP proxy
randomCNIP?: boolean // Whether to use a random Chinese IP address filled in X-Real-IP