Skip to content
New issue

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

PLPlayerOptionKeyHeadUserAgent 怎么使用? #547

Open
wuhuiy opened this issue Jan 18, 2021 · 0 comments
Open

PLPlayerOptionKeyHeadUserAgent 怎么使用? #547

wuhuiy opened this issue Jan 18, 2021 · 0 comments

Comments

@wuhuiy
Copy link

wuhuiy commented Jan 18, 2021

文档说的是:PLPlayerOptionKeyHeadUserAgent 的 NSString 需要以类似 @"key:value" 的方式,例如:给 http 的 header 添加 referer,则以 @"Referer:http://xxx.xxx.com" 格式配置。
不可包含 "\n" 或 "\r",包含"\n" 或 "\r" 则设置无效

那如果我添加两个key:value该怎么分割?

这样?
Authorization-QS:%@ Environment:%@

这样?
Authorization-QS:%@ ; Environment:%@

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant