title: JSONP request fails when https is used instead of http
body: <p>I have an API client which makes a JSONP request using JQuery. Everything works fine
  when this API client's not using SSL however fails when the SSL is used. </p>
  
  <p>For example I have a URL <strong>http://apiclient.com</strong> and I am making following JSONP request from this domain:</p>
  
  <pre><code>$.ajax({
      url: url,
      dataType: "jsonp",
      contentType: "application/json; charset=utf-8",
      success: function(data)
      {
          $.each(data.services, function(index, service) {
              processService(service);
          });
      }
  });
  </code></pre>
  
  <p>I see an appropriate request made to API host specified in the url and callback function in <strong>success</strong> is properly called with properly formatted data passed onto it. </p>
  
  <p>However when I change above URL of the API client to <strong>https://apiclient.com</strong>, 
  no request is observed at API host. I see no errors in either side of the logs.</p>
  
  <p>Note: only difference is <strong>http</strong> to <strong>https</strong> on API client side.</p>
  
  <p>Do you need to handle JSONP request differently when using https domain?</p>
  
  <p>Thanks. </p>
  
  <p>Edit:
  This issue is only observed with Chrome. It works with Firefox and Safari. 
  However I got a quick warning on FireFox asking I am about to make unencrypted request from
  encrypted site. I allowed it and never saw the warning again. </p>