title: Is it possible to AJAX get the same url in HTTP and HTTPS
body: <p>I know that you can't do an AJAX request from HTTP to HTTPS so we are working on getting the served content available on both HTTP and HTTPS. Is there away to tell AJAX to get the file based on the protocol its using in the browser? </p>
  
  <p>For example could you do:</p>
  
  <pre><code>....
  type: "GET",
  url: '//wp-content/themes/twentyeleven/js/jobopenings.json'
  ....
  </code></pre>
  
  <p>with the <code>//</code> would it serve up the correct version automatically?</p>