Reputation: 3103
When Flex application make an asynchronus HTTP request, does it add a special 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.
Upvotes: 3
Views: 413
Reputation: 5308
No, but you can add your own headers. Maybe a better solution is to customize the request (add a parameter to distinguish between requests).
Upvotes: 2