Add http header to redirect url

I am using the redirectURL method in the the Piwik_URL api. I need to add headers to the http request. I can’t find any method which accept header information.

Your help is much appreciated. Thanks in advance.


The function doesn’t allow redirects, you can submit a patch, or create a wrapper function around it in your plugin.