[wp-hackers] wp_remote_get() fails but wget works?
Mike Walsh
mpwalsh8 at gmail.com
Mon Feb 4 14:47:58 UTC 2013
I've tried as many as 100 - the only thing different is it takes longer to
fail.
Mike
On Mon, Feb 4, 2013 at 9:38 AM, Andrew Nacin <wp at andrewnacin.com> wrote:
> On Mon, Feb 4, 2013 at 8:41 AM, Mike Walsh <mpwalsh8 at gmail.com> wrote:
>
> > [0] => Too many redirects.
>
>
> By default, wget follows up to 20 redirects, which the manual admits "is
> usually far more than necessary". wp_remote_get() follows five.
>
> You can change this with 'redirection' => 20.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Mike Walsh - mpwalsh8 at gmail.com
More information about the wp-hackers
mailing list