Pass http headers to onSuccess