diff --git a/library/Solarium/QueryType/Extract/RequestBuilder.php b/library/Solarium/QueryType/Extract/RequestBuilder.php index 44ea86308..424756103 100644 --- a/library/Solarium/QueryType/Extract/RequestBuilder.php +++ b/library/Solarium/QueryType/Extract/RequestBuilder.php @@ -103,6 +103,7 @@ public function build(QueryInterface $query) $file = $query->getFile(); if (preg_match('/^(http|https):\/\/(.+)/i', $file)) { $request->addParam('stream.url', $file); + $request->setMethod(Request::METHOD_GET); } elseif (is_readable($file)) { $request->setFileUpload($file); $request->addParam('resource.name', basename($query->getFile()));