I am trying to remove specific HTTP response header from my site. The header looks like this:
Link: <https://example.com>; rel="canonical",<https://example.com>; rel="shortlink"
So far I have tried this simple code in my
But that does not remove the header. Is there some specific Drupal way to deal with this, or am I using this code in wrong function? Or am I completely wrong with this?
Thank you in advance