phoenix-media/magento2-additional-http-header
Composer 安装命令:
composer require phoenix-media/magento2-additional-http-header
包简介
README 文档
README
Sets additional HTTP headers in response
What it does
The module adds a header to the HTTP response. As an example implementation is sets the full action name of the request controller with the header "X-FULL_ACTION_NAME". The module can be easily extended by declaring new handlers in the di.xml (can be done in separate module). Each handler needs to implement the AdditionalHttpHeaderInterface API. For ease of use a HandlerAbstract class implements most of what is required.
How to use
- Install the module via Composer:
composer require phoenix-media/magento2-additional-http-header
- Enable it
bin/magento module:enable Phoenix_AdditionalHttpHeader - Install the module and rebuild the DI cache
bin/magento cache:flush
How to configure
Find the modules configuration in the PHOENIX MEDIA section of your Magento configuration.
统计信息
- 总下载量: 1.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2020-10-29