title: When auto-submitting a form, how do I add a header?
body: <p>I’m using JQuery 1.9.2, although this question might not concern JQuery.  I’m auto-submitting an HTML form using this code …</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function() {
          $('#autolaunch').submit(); 
      }); 
  &lt;/script&gt;
  …
  &lt;form id="autolaunch" name="autolaunch" action="${ltiLaunchUrl}" method="post"&gt;
      &lt;input type="hidden" name="lti_version" value="${lti_version}" /&gt;
      &lt;input type="hidden" name="lti_message_type" value="${lti_message_type}" /&gt;
      …
      &lt;input type="hidden" name="lis_person_name_given" value="${lis_person_name_given}" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The action of the form is a different domain than the server on which this page is accessed.  My question is, how can I add a header when submitting this data?  The header I want to add would look like name = "LTI-Authorization" and value = “Token consumerKey:consumerSecret”.</p>