diff --git a/src/WordPress/AsyncHttp/Client.php b/src/WordPress/AsyncHttp/Client.php index d4447ebd..826e5318 100644 --- a/src/WordPress/AsyncHttp/Client.php +++ b/src/WordPress/AsyncHttp/Client.php @@ -696,7 +696,15 @@ private function handle_redirects( $requests ) { } $this->events[ $request->id ][ Client::EVENT_REDIRECT ] = true; - $this->enqueue( new Request( $redirect_url, [ 'redirected_from' => $request ] ) ); + $this->enqueue( + new Request( + $redirect_url, + [ + 'method' => $request->method, + 'redirected_from' => $request, + ] + ) + ); } }