title: When i am doing ajax request with js i am getting 'Referrer Policy:no-referrer-when-downgrade'
body: <p>I am trying to send <a href="https://myownserver.com/page.php" rel="nofollow noreferrer">https://myownserver.com/page.php</a> to <a href="https://myownserver.com/page2.php" rel="nofollow noreferrer">https://myownserver.com/page2.php</a> and I am getting: <code>Referrer Policy:no-referrer-when-downgrade</code>. This is using POST request using jquery and ajax. This is my code: </p>
  
  <pre><code>$('.dSettings').click(function() {
      $.post('https://myownserver/page2.php', {bookid: '&lt;?= $book['BookID']; ?&gt;', userid: '&lt;?= $_SESSION['Login']['UserID']; ?&gt;', del: 'delete'}, function (data) {
          // do something with the data
      });
  });
  </code></pre>
  
  <p>The problem is that i can open the page2.php from a GET request and using PostMan i can send POST request without any problems. I really don't get where the problem can be. Any help will be grateful!</p>
  
  <p>EDIT: I am using Google Chrome, if someone need this information.
  My Request Headers are: </p>
  
  <pre><code>Provisional headers are shown
  Accept:*/*
  Content-Type:application/x-www-form-urlencoded; charset=UTF-8
  Origin:https://myownserver.com
  Referer:https://myownserver.com/page.php
  User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
  X-Requested-With:XMLHttpRequest
  </code></pre>
  
  <p>EDIT2: I must say that I have 2 more ajax request to the same page2.php and they are working correctly both returning: <code>Referrer Policy:no-referrer-when-downgrade</code>, but also <code>Status Code: 200</code> and the one that is not working I am getting on Status Code: <code>(canceled)</code></p>
  
  <p>EDIT3: Part of my html code firing the ajax request <code>&lt;a href="" class="dSettings"&gt;Do something, go somewhere&lt;/a&gt;</code></p>