New global variable: is_internal_request