Modify the error $array flatten method types in some circumstances suggest, Proxy will be lost in the request in question, lost 302 and 301 jump in.

Signed-off-by: shaoqi <shaoqisq123@gmail.com>