Add http header to redirect url


(Vinoth) #1

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.

-Vinoth


(Matthieu Aubry) #2

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