<core-ajax url="{{hostname}}/hawq-api/v1/version" handleAs="json" response="{{resp}}"></core-ajax><iron-ajax id="get_file"
handle-as="text"
last-response="{{fileContent}}"
headers='{"accept": "application/vnd.github.VERSION.html"}'
on-response="handleFile"
on-error="handleFileErrorResponse">
</iron-ajax>
ready: function() { this.$.get_file.url = "https://api.github.com/repos/" + this.owner + "/" + this.repo + "/contents/" + this.fileName + "?ref=" + this.branch + "&access_token=" + this.tk;
this.$.get_file.generateRequest();
},