-
Notifications
You must be signed in to change notification settings - Fork 124
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
POST请求参数为空会出现411异常 #60
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用POST请求的时候如果没有请求体,则没有填充content-length这个请求头,有些服务器会响应
HTTP Error 411. The request must be chunked or have a content length.
导致请求失败,手动添加content length值为0可以正常请求。The text was updated successfully, but these errors were encountered: