Linux .htaccess 重定向是否可以 jsonp 形式

rainbow_free · January 16, 2012 · 2527 hits

有一个提供 api 的系统,返回 json 数据。 另一个系统用 jquery 访问 api,返回 jsonp 形式的数据。 这个 api 系统维护时在.htaccess 重定向到 public 下的 maint.json 文件, 请问在不修改 jquery 的前提下,是否可以在.htaccess 判断是否利用了 jsonp 方式,如果使用了 jsonp 并返回 jsonp 形式的数据?

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.