title: Phantomjs prints empty HTML source
body: <p>I have a JS file to add headers as follows.</p>
  
  <pre><code>var webPage = require('webpage');
  var system = require('system');
  var page = webPage.create();
  
  page.customHeaders = {"pragma": "akamai-x-feo-trace"};
  page.settings.userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36"
  
  if (system.args.length === 1) {
      console.log('Try to pass some args when invoking this script!');
  } else {
      page.open(system.args[1], function (status) {
      var content = page.content;
      console.log(content);
      phantom.exit();
      });
  }
  </code></pre>
  
  <p>I am now executing the following phantoms command</p>
  
  <p><code>phantomjs RequestURL.js http:////www.ubank.com.au &gt; body.html</code></p>
  
  <p>Upon opening <code>body.html</code> I get an empty HTML file as follows.</p>
  
  <p><code>&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;</code></p>
  
  <p>Why the HTML source is not getting generated here.</p>