Commit 51859736 authored by Jan Reimes's avatar Jan Reimes
Browse files

🔧 chore(pdf_remote_converter): update download method to use httpx directly for presigned URLs

parent 56291917
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -84,7 +84,9 @@ class CloudConvertProvider(AbstractProvider):

        export_task = self._poll_job(job_id)
        download_url = self._extract_download_url(export_task)
        download_response = self._request_raw("GET", download_url)
        # Download directly using httpx without auth headers (presigned URL contains its own auth)
        download_response = self.http_client.get(download_url)
        download_response.raise_for_status()
        output_path.write_bytes(download_response.content)

        from_cache = bool(create_response.extensions.get("from_cache"))