added header method to redirect response.
Merge branch '4.0'
add arrayobject to checks.
Merge branch '4.0'
import arrayobject.
Merge branch '4.0'