httplib.array.index

array.index(x)

Return index of first occurrence of x in the array.