title: IE8 treats json response as file and tries to download it
body: <p>I am using IE8 and I am sending ajax request to on of the url which sends back response as json. The jquery code for the ajax setup is given below:</p>
  
  <pre><code>$(document).ready(function(){
    $.ajax({
      url: url_string,
      dataType: "json",
      success: function(response){
        alert('all is well');
      },
      error: function(request, status, error){
        alert(request);
        alert(status);
        alert(error);
      }
    });
  });
  </code></pre>
  
  <p>I am sure that the server is sending JSON response but IE8 treats it as file and brings up download popup box. But the same process works fine for FF and Chrome. This still happens when i replace <strong>json</strong> to <strong>jsonp</strong> in <strong>dataType</strong> </p>
  
  <p>But it always enters into error callback method.</p>
  
  <p>My <strong>json</strong> response body consists of a string with <strong>html tags</strong> too. </p>
  
  <p>Any idea why is this happening?</p>
  
  <p>Thanks</p>