Added callback result for get_headers function