add function ishttpup