added use http_get_request_headers and use getHeaders method in Gii module