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
网上查了资料,发现有人说现在请求头不能写某几个key? 然后看了Dio库里的Headers类,发现里面有默认支持的几个key
httpHeaders = { Headers.acceptHeader: "application/json, text/plain, /", Headers.contentEncodingHeader: "gzip, deflate, br, drop", Headers.contentLengthHeader: '', Headers.contentTypeHeader: 'application/json' }
是不是除了这几个,其他的都不支持呢(比如'origin')
跪求解惑,拜托大家了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
网上查了资料,发现有人说现在请求头不能写某几个key?
然后看了Dio库里的Headers类,发现里面有默认支持的几个key
httpHeaders = {
Headers.acceptHeader: "application/json, text/plain, /",
Headers.contentEncodingHeader: "gzip, deflate, br, drop",
Headers.contentLengthHeader: '',
Headers.contentTypeHeader: 'application/json'
}
是不是除了这几个,其他的都不支持呢(比如'origin')
跪求解惑,拜托大家了
The text was updated successfully, but these errors were encountered: