having file_get_contents call to create $http_response_header is super weird.