开发者

Detect if HTTP request is from browser / Flex asynchronous request?

When Flex application make an asynchronus HTTP request, does it add a sp开发者_C百科ecial header to the request, like some JavaScript framework does? Something that indicates whether this request is an AJAX call/not.

I just want my server side code to return different response format, depending on whether the request is made from browser/flex.

Regards, Andree.


No, but you can add your own headers. Maybe a better solution is to customize the request (add a parameter to distinguish between requests).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜