callback无法通过有效性验证

hi~
我参考文档进行了callback的有效性检测,但是发现在回调时找不到$_SERVER['HTTP_AUTHORIZATION']信息,是我这边设置的问题吗?
{"COMSPEC":"C:\Windows\system32\cmd.exe","CONTENT_LENGTH":"2771","CONTENT_TYPE":"application/x-www-form-urlencoded","CONTEXT_DOCUMENT_ROOT":"E:/www/picpas/frontend/web","CONTEXT_PREFIX":"","DOCUMENT_ROOT":"E:/www/picpas/frontend/web","GATEWAY_INTERFACE":"CGI/1.1","HTTP_ACCEPT_ENCODING":"gzip","HTTP_HOST":"125.37.163.237:18080","HTTP_USER_AGENT":"qiniu-callback/1.0","HTTP_X_REQID":"uGkAAOlUeWOs99oT","PATH":"d:\program files\graphicsmagick-1.3.20-q16;D:\Program Files\ImageMagick-6.9.0-Q16;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\1.5\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\1.5\bin\x64;D:\Program Files\TortoiseSVN\bin;E:\Wamp\bin\php\php5.3.13\;C:\ProgramData\ComposerSetup\bin;E:\Wamp\bin\php\php5.4.3\;D:\Program Files\nodejs\;D:\Program Files (x86)\Git\cmd;D:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Skype\Phone\;","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","PHP_SELF":"/index.php","QUERY_STRING":"","REDIRECT_STATUS":"200","REDIRECT_URL":"/uploader/qiniu-callback","REMOTE_ADDR":"******","REMOTE_PORT":"****","REQUEST_METHOD":"POST","REQUEST_SCHEME":"http","REQUEST_TIME":1.430728151e+09,"REQUEST_TIME_FLOAT":1.430728151821e+09,"REQUEST_URI":"/uploader/qiniu-callback","SCRIPT_FILENAME":"E:/www/picpas/frontend/web/index.php","SCRIPT_NAME":"/index.php","SERVER_ADDR":"****","SERVER_ADMIN":"webmaster@dummy-host2.example.com","SERVER_NAME":"*****","SERVER_PORT":"***","SERVER_PROTOCOL":"HTTP/1.1","SERVER_SIGNATURE":"","SERVER_SOFTWARE":"Apache/2.4.2 (Win64)","SystemRoot":"C:\Windows","WINDIR":"C:\Windows"}

阅读 2.8k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
logo
七牛云问答
子站问答
访问
宣传栏