title: AJAX not working on IE and EDGE
body: <p>I made an application using ajax in some points, and I figured out that it wasn't working on IE and EDGE.
  On the examples bellow, I'm trying to generate a PDF from one html page.
  Here's my code</p>
  
  <pre><code>$(document).ready(function() {
    try {
    var url_string = window.location.href;
    var url = new URL(url_string);
    var token = url.searchParams.get("token");
  
    if (url_string.includes('/quiz/show_report')) {
      $.ajax({
        cache: false,
        type: "POST",
        url: '/chart.js?token=' + token
      });
    }
   } catch (e) {}
  });
  </code></pre>
  
  <p>on the document, I'm calling </p>
  
  <pre><code>$.ajax({
    cache: false,
    type: "POST",
    url: '/download_pdf?token=' + token,
    data: {
      natural_chart: $('#natural-chart').attr('data-image'),
      humanities_chart: $('#humanities-chart').attr('data-image'),
      language_codes_chart: $('#language-codes-chart').attr('data-image'),
      mathematics_technology_chart: $('#mathematics-technology-chart').attr('data-image')
    }
  }).success(function(e) {
    window.location = '/download?token=' + token;
  });
  </code></pre>
  
  <p>What I tryed:
  Using cache false
  Forcing ie compatibility mode with that metatag:</p>
  
  <p><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=7" /&gt;</code></p>
  
  <p>and that:</p>
  
  <p><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" &gt;</code></p>
  
  <p>and all that other compatible meta tags. I Tryed also that ones</p>
  
  <p><code>&lt;meta content="no-cache" http-equiv="Cache-Control"&gt;</code>
  <code>&lt;meta content="no-cache" http-equiv="Pragma"&gt;</code></p>
  
  <p>We updated the jquery version to the newer one (3.2.1),</p>
  
  <p>Anyone has any idea what I might do to fix it?</p>
  
  <p>Thank you in advance</p>