- 注册
- 2019-09-05
- 消息
- 2,007
- 反馈评分
- 1,622
- 点数
- 113
-
Windows 10 Chrome 86.0.4240.198
- #1
XFNULL 提交新资源:
Custom HTTP Client headers - Allows set additional HTTP headers via 'src/config.php'
阅读关于此资源更多信息...
Custom HTTP Client headers - Allows set additional HTTP headers via 'src/config.php'
This simple add-on just allows add/set custom headers to all HTTP requests from XenForo viasrc/config.php
. For example, you may want setAccept-Language
for using another language, if remote web-resource respects this header.
Example usage (src/config.php
):
PHP:<?php // database options ... // additional options for caching (for example), proxying all HTTP requests and another... $config['http']['headers'] = [ // Prefers russian...
阅读关于此资源更多信息...