-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
[BUG]在curl_options中修改HTTPHEADER 报类型错误 #363
Labels
bug
Something isn't working
Comments
报错里不是已经指了明路了,你得用 |
有道理,谢谢你的反馈,有空了改下。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
requests.post 自带的设置headers的功能会限制 Content-Type为application/json或者application/x-www-form-urlencoded,由于服务器端只接受application/json; charset=UTF-8,我想通过curl_options设置header,但是我尝试了以上两种方式之后均报同样的错误
The text was updated successfully, but these errors were encountered: