Plugins: headers_to_env=yes to get all request headers

Version 1.57


Plugins now have the ability to get all request headers. To do so, the following GET variable must be sent: headers_to_env=yes you can still make a POST request, but the above must be part of the GET data (done this way to avoid parsing huge amounts of data that can be POSTed) Data will set to variable: HEADERS=<urlencodedheaders> where <urlencodedheaders> is a URL string of all headers and their values.

Interested to try DirectAdmin? Get a 30-day Free Trial!