javascript - How to add a custom HTTP header? - Stack Overflow

Here's an example using XHR2: function xhrToSend(){ // Attempt to creat the XHR2 object var xhr; try{ xhr = new XMLHttpRequest(); }catch (e){ try{ xhr = new XDomainRequest(); } catch (e){ try{ xhr = n...

はてなブックマーク - javascript - How to add a custom HTTP header? - Stack Overflow はてなブックマークに追加

カテゴリー:コンピュータ・IT
http://stackoverflow.com/questions/7686827/how-to-add-a-custom-http-header