title: jQuery won't send HTTP_X_REQUESTED_WITH header?
body: <p>I have the following page, and checking the request, I can't find the HTTP_X_REQUESTED_WITH  header? I even tried various hacks such as adding the header manually (per another question here), but to no avail. Anyone have any ideas?</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
          $(function() {
              $("#form").bind("submit", function(e) {
                  e.preventDefault()
                  $.post("/members/login/", $("#form").serialize(),
                          function(data){
                              alert(data);
                              });
                  });
              }); 
      });
  &lt;/script&gt;
  
  &lt;form id="form" action="" method="post"&gt;
      &lt;ul&gt;
         &lt;li&gt;&lt;label for="id_email"&gt;Email:&lt;/label&gt; &lt;input type="text" name="email" value="" id="id_email" /&gt;&lt;/li&gt;
         &lt;li&gt;&lt;label for="id_password"&gt;Password:&lt;/label&gt; &lt;input type="password" name="password" id="id_password" /&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;input type="hidden" name="next" value="" /&gt;
      &lt;input id="submit" type="submit" value="" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>This shouldn't matter, but I use django and check with <code>request.is_ajax()</code>. I verified that the header isn't in the request. This is deployed on localhost. </p>