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

修复设置header时:后没有空格导致默认header会替换设置的header的问题 #4946

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luern0313
Copy link

。。。一口气说下来真累

@befovy
Copy link

befovy commented Dec 25, 2019

存在默认 header 被替换的问题吗?
空格不能解决这个问题吧?

@luern0313
Copy link
Author

存在默认 header 被替换的问题吗?
空格不能解决这个问题吧?

我设置header的时候比如ua会变成别的,在header的值前面加一个空格就没问题了

@sensencoder
Copy link

正确用法怎么加来着~看了看issue,没有确定的写法

@luern0313
Copy link
Author

正确用法怎么加来着~看了看issue,没有确定的写法

用.setDataSource(ctx, url, headers);
后面的headers是个Map

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

Successfully merging this pull request may close these issues.

3 participants