We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我在mix-httpd下打印出来的的\Mix::app->request->server()里没有http_user_agent,这个信息是丢失了吗,还是要用其它方式去取
The text was updated successfully, but these errors were encountered:
老哥在这个里面\Mix::app()->request-header()
Sorry, something went wrong.
\Mix::app()->request-header('user-agent')
呖 不是下划线,差点又进坑
对,\Mix::app()->request->header('user-agent'),mix 里 server 超级变量分为了 header 与 server 两个方法获取,而且 key 全部为小写,为了与 swooleServer 兼容。
No branches or pull requests
我在mix-httpd下打印出来的的\Mix::app->request->server()里没有http_user_agent,这个信息是丢失了吗,还是要用其它方式去取
The text was updated successfully, but these errors were encountered: