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头没有content-length时,结果错误 #9

Closed
dpull opened this issue Aug 30, 2017 · 1 comment
Closed

返回的http头没有content-length时,结果错误 #9

dpull opened this issue Aug 30, 2017 · 1 comment

Comments

@dpull
Copy link
Owner

dpull commented Aug 30, 2017

from: lgc

发起一个https请求,服务器没有返回content-length回导致你的库拿不到正确的结果
比如说这个网站:https://www.ddpkcc.com/

curl -I https://www.ddpkcc.com
HTTP/1.1 200 OK
Server: nginx/1.11.13
Date: Wed, 30 Aug 2017 09:32:58 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/7.0.20
@cpejlgc
Copy link

cpejlgc commented Aug 30, 2017

补充:服务返回头部是:Transfer-Encoding:chunked,导致客户端有问题。

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

2 participants