We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您的功能请求是否与问题有关?请描述. 脚本中 headers 不支持多个同名的头,比如 Set-Cookie
描述您想要的解决方案 让headers支持 string 列表 类型
附加上下文
response.headers['Content-Type'] = 'text/html' // response.headers['Set-Cookie'] = 'sid=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=www.demo.xyz' // response.headers['Set-Cookie'] = 'uid=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=www.demo.xyz' // response.headers['Set-Cookie'] = 'tid=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.demo.xyz' response.headers['Set-Cookie'] = [] response.headers['Set-Cookie'].push('sid=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=www.demo.xyz') response.headers['Set-Cookie'].push('uid=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=www.demo.xyz') response.headers['Set-Cookie'].push('tid=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.demo.xyz')
The text was updated successfully, but these errors were encountered:
? 你自己写个字符串不就行了。
Sorry, something went wrong.
什么系统
Script headers support multiple values #259
a7020af
5eef74e
ac39b41
很赞!
No branches or pull requests
您的功能请求是否与问题有关?请描述.
脚本中 headers 不支持多个同名的头,比如 Set-Cookie
描述您想要的解决方案
让headers支持 string 列表 类型
附加上下文
The text was updated successfully, but these errors were encountered: