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

当请求正文内容过大遇到HTTP/1.1 100 Continue的解决办法 #4

Merged
merged 1 commit into from May 21, 2018

Conversation

chao
Copy link
Contributor

@chao chao commented May 21, 2018

在实际使用中会遇到有一些队列发不出去,显示超时。经过抓包发现是因为包比较大,腾讯服务器返回了

HTTP/1.1 100 Continue

stackoverflow上搜索了以下,发现可以增加以下语句解决:

curl_setopt($this->curl, CURLOPT_HTTPHEADER, array( 'Expect:' ) );

@freyo freyo merged commit b543e33 into freyo:master May 21, 2018
@freyo
Copy link
Owner

freyo commented May 21, 2018

谢谢,已合并

freyo added a commit that referenced this pull request Oct 17, 2018
当请求正文内容过大遇到`HTTP/1.1 100 Continue`的解决办法
freyo added a commit that referenced this pull request Oct 17, 2018
当请求正文内容过大遇到`HTTP/1.1 100 Continue`的解决办法
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.

None yet

2 participants