[fetch] [Question] Is there any suggested way to tell if we are dealing with a fetch request server-side? (#58)

In a discussion on .NET MVC Framework, https://github.com/aspnet/HttpAbstractions/issues/245 there's some talk about what's the future of the old mvc version feature: Request.IsAjaxRequest() Method.

Right now, the only way we developers checks for a request that's initiated via javascript we check the used `X-Requested-With` custom header.

I was wondering if there's some plan or intention to have a 'standard' header or realiable mechanism for a server to know if the request originates from a fetch request or we should use custom headers for this kind of scenario.

Thanks and sorry if this has already been addresses, couldn't find it on current issues.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/58

Received on Monday, 1 June 2015 05:05:40 UTC