Hey everyone, is there a way to add some additional entries into the response headers of the jenkins API calls?
I am trying to get some data from jenkins via AJAX/JSON/Jenkins JSON API. My Jenkins is secured so I need to use Basic Authentication which wont work because I am using JSONP. If I use JSON I could use Basic Auth but then I get a CORS error... So I need to modify the reponse headers and add Access-Control-Allow-Origin: * How to do that? Cheers Taner