title: How can I get the HTTP_ACCEPT Headers from a browser using javascript?
body: <p>Is it possible HTTP Accept headers using only javascript? I know using PHP I would do something like this <code>$_SERVER['HTTP_ACCEPT']</code>, but as far as I can tell javascript doesn't have this.</p>
  
  <p>Perhaps I could do something with an XmlHttpRequest?</p>
  
  <p>Any help would be awesome!</p>
  
  <p>Thanks,<br>
  Mike</p>