Philip Tellis’s profile

geek, yahoo, conference speaker, web performance and security stuffer, boomerang developer

Latest Comments

1

My guess is that this is how they differentiate between requests that come from XHR and those that come through a regular user initiated request. Their JavaScript/Flash probably uses the Accept header to specify that they want JSON rather than HTML. I'd done a talk about using the Accept header with Ajax requests back in 2005, and it's almost exactly the same technique, except that I recommended that the Accept header should be exactly equal to application/javascript+json (the content types for JavaScript and JSON hadn't been standardised yet)

Posted in The Accept Header.

Mon, 17 Oct 2011 at 14:37:40 GMT


About

  • Twitter: @bluesmoon
  • Location: Sunnyvale, CA, USA
  • Joined: October 2011
  • Comments: 1