added header method to redirect response.
add arrayobject to checks.
import arrayobject.