自上次OSX更新(Yosemite)以来,我的localhost服务器充满了来自airplay的错误消息(但我没有使用它).每次都是一样的:
[31/Oct/2014 05:40:42] code 400, message Bad request version ('RTSP/1.0')
[31/Oct/2014 05:40:42] "GET /info?txtAirPlay&txtRAOP RTSP/1.0" 400 -
Run Code Online (Sandbox Code Playgroud)
让服务器充满错误消息真是太烦人了,所以如果有人有解决这个问题或删除airplay的线索,我会非常感激:)
I'm struggling to understand why this javascript error keeps popping up on my website and I can't reproduce it. I've followed the bing documentation to install their tracking pixel so I have this in my header :
<script>
(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){
var o={ti:"xxxxxxxx"};o.q=w[u],w[u]=new UET(o),
w[u].push("pageLoad")},n=d.createElement(t),n.src=r, n.async=1,
n.onload=n.onreadystatechange=function(){var s=this.readyState;
s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},
i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})
(window,document,"script","//bat.bing.com/bat.js","uetq");
</script>
Run Code Online (Sandbox Code Playgroud)
However in some browsers, the UET variable in this code, which is loaded by the url given as the r variable, seems to not be defined while it's only …