Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By dks786 on
How can we remove or add HTTP header response values from drupal site for specific page?
Please help me on this!
Comments
What about using this module:
What about using this module: https://www.drupal.org/project/http_response_headers ?
Thanks
Thanks for ur reply!
I want to remove Vary: Cookie,Accept-Encoding (header response) from homepage for anonymous user in drupal 7.
header_remove("Vary"); in template_preprocess() is not working for me.
Can you please help me on this!
Thanks!