为什么在JQuery中没有OData调用的服务器端代理?


Why is there no server-side proxy for the OData calls in JQuery?

我一直认为,如果你做http请求服务器,他们必须在同一域时通过jquery ajax调用调用?如果你看这样的东西:http://datajs.codeplex.com。它没有PHP/。。NET代理。jquery如何在没有任何服务器端的情况下对netflix进行异步调用?

它们使用各种跨域机制:

  • 代理(他们称之为"中继机制")
  • XDomainRequest
  • 跨域XMLHttpRequest
  • JSONP