getHeaders ( string url , array[string] _data , string _referer , bool[default:true] _allowsRedirect ) : string
Return the headers of a request. Ex :
header1=value1;value2;
header2=valueA;valueB;
Note: the result is a string and not a map because you can have sevral same keys.
Parameters
url
URL of the page, or the page of the form (ex: form for login)
_data (optional)
associative array of string with the content of the form
_referer (optional)
referer header. It is the origin page indicated.
_allowsRedirect (optional)
Allows redirections (301, 302, etc.).