v1/web/modules/contrib/remove_http_headers/README.md

1.9 KiB

INTRODUCTION

The Remove HTTP headers module removes configured HTTP headers from the response. Also removes <meta name="Generator" content="Drupal 8 (https://www.drupal.org)"> from the <head> tag if the X-Generator HTTP header is configured to be removed. By default the X-Generator and X-Drupal-Dynamic-Cache HTTP headers are configured to be removed.

REQUIREMENTS

  • This module requires Drupal 8.6 or above.
  • No additional modules are needed.

INSTALLATION

CONFIGURATION

  • Configure the HTTP headers that should be removed on the settings page (/admin/config/system/remove-http-headers) or directly in the remove_http_headers.settings.yml configuration file.

    • remove_http_headers.settings.yml format:
      headers_to_remove:
      - 'X-Generator' 
      - 'X-Drupal-Dynamic-Cache'
      - 'X-Drupal-Cache'
      

MAINTAINERS

Current maintainers:

This project has been sponsored by:

  • Namics - Initial development

    Namics is one of the leading providers of e-business and digital brand communication services in the German-speaking region. The full-service agency helps companies transform business models with top-quality interdisciplinary solutions, promising increased, measurable success for their clients. Visit https://www.namics.com/en for more information.