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).
精彩评论