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

swoole_http_response->header会默认设置ContentType和ContentLength? #958

Closed
huangnaiang opened this issue Dec 16, 2016 · 1 comment

Comments

@huangnaiang
Copy link

我调用swoole_http_response->header,没有设置Content-Type和Content-Length,但http返回头里面有 Content-Type:text/html Content-Length:0

@matyhtf
Copy link
Member

matyhtf commented Dec 19, 2016

会自动设置。

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