title: ajax doesn't execute or receive external scripts
body: <p>This is a follow up to my previous <a href="https://stackoverflow.com/questions/41881311/allow-insert-file-js-by-getscript-in-content-security-policy-csp">question (unresolved)</a>.</p>
  
  <p>Directives in .htaccess:</p>
  
  <pre><code>Header always set Content-Security-Policy "default-src 'none'; base-uri 'self'; style-src 'self'; font-src 'self'; img-src 'self'; script-src 'self' 'nonce-22os9h3sdfa'; connect-src 'self'; object-src 'self'; media-src 'self'; child-src 'none'; report-uri https://mydomain.info/csp-reporting.php"
  </code></pre>
  
  <p>CSP Log -> report.txt file from my domain: <strong><a href="https://horbaczewski.info/csp/report_2017-02-07.txt" rel="nofollow noreferrer">Link</a></strong>
  <em>remove /csp/report_2017-02-07.txt from Link then you get link to my own site</em></p>
  
  <p>I try load external script via ajax get metod:</p>
  
  <pre><code>$.ajax({
          type: 'GET',
          dataType: 'script',
           headers: {
              Accept : 'text/javascript; charset=utf-8',
              'Content-Type': 'text/javascript; charset=utf-8'
          },
          url: 'https://mydomain.info/js/library.js',/*I change url for fake on public share. My correct url is in above link*/
          /*data: { nonce: '22os9h3sdfa' }, - use attrs solution from: https://github.com/jquery/jquery/issues/3028*/
          attrs: { nonce: '22os9h3sdfa' },
          cache : true,
          jsonp: false,
          async: true,
          success: function() { console.log('xhr was send'); },
          error: function (XMLHttpRequest, status, errorThrown) {
              if (status == 'Unauthorized') { console.log(' === Error: ' + errorThrown + ' === '); }
              else { console.log(' === Error: ' + errorThrown + ' === '); }
          },
          complete: function (jqXHR, textStatus) {
              console.log(textStatus);
              console.log(jqXHR.status);
              console.log(jqXHR.responseText);
          }
      })
  </code></pre>
  
  <p>I spent a lot of time finding the error &amp; what blocks the script execution..
  Need help, please..</p>