-
Notifications
You must be signed in to change notification settings - Fork 26
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
How to change header Content-Type: text/html;charset=utf-8 to application/json #2
Comments
For example. |
Ok, Great its work use Workerman\Protocols\Http\Response; but it's make performance little bit slower when I'm using wrk |
The performance is the same, but you have to |
in my case, i parsed the data by using |
For better handling in some programming we detect Header Content-type json,
I did add header('Content-Type: application/json');
but still don't work
The text was updated successfully, but these errors were encountered: