set_accepts
set_accepts($accept_string); - set accepts (browser request headers) - available from version 6.0.42
The function accepts parameters as input:
$accept_string – new accept (browser request headers)
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed