摘要:
CORS CORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing)跨域资源共享 CORS 详解。看名字就知道这是处理跨域问题的标准做法。 CORS背后的思想,就是使用自定义的HTTP头部让浏览器与服务器进行沟通,从而决定请求或响应是应该成功,还是 阅读全文
摘要:
js里的解释: A callback is a function that is passed as an argument to another function and is executed after its parent function has completed. 从字面上理解下来就是 阅读全文