Resource icon

xF2 Add-on Custom HTTP Client headers 1.0.0 Alpha

No permission to download

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
20,211
Points
823

Reputation:

ENXF NET submitted a new resource:

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 via src/config.php. For example, you may want set Accept-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...

Read more about this resource...
 
Top