From fd22731d870d1c4cd8f40acb23138e0168a64583 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Sat, 9 Nov 2024 13:00:40 +0100 Subject: [PATCH 1/2] Update http_client to v0.0.3 --- extensions/http_client/description.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/extensions/http_client/description.yml b/extensions/http_client/description.yml index a28d1a4..118cef9 100644 --- a/extensions/http_client/description.yml +++ b/extensions/http_client/description.yml @@ -1,26 +1,33 @@ extension: name: http_client description: DuckDB HTTP Client Extension - version: 0.0.2 + version: 0.0.3 language: C++ build: cmake license: MIT + excluded_platforms: "windows_amd64_mingw" maintainers: - lmangani - ahuarte47 repo: github: quackscience/duckdb-extension-httpclient - ref: db0ebb7f8c2688ff7a785b83a387bf782d13afd1 + ref: 9b006341fa0fe9ade344620c40d867babe359645 docs: hello_world: | -- GET Request Example w/ JSON Parsing WITH __input AS ( - SELECT - http_get( - 'https://httpbin.org/delay/0' - ) AS res + SELECT + http_get( + 'https://httpbin.org/delay/0', + headers => MAP { + 'accept': 'application/json', + }, + params => MAP { + 'limit': 1 + } + ) AS res ), __response AS ( SELECT @@ -33,7 +40,7 @@ docs: SELECT __response.status, __response.reason, - __response.Host AS host, + __response.Host AS host FROM __response ; @@ -53,6 +60,7 @@ docs: 'accept': 'application/json', }, params => MAP { + 'limit': 1 } ) AS res ), From 3ee26fe4135b02e40781a7aa76a98d1a547070e3 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Sat, 16 Nov 2024 19:28:40 +0100 Subject: [PATCH 2/2] http_client 0.0.4 CPPHTTPLIB_ZLIB_SUPPORT support --- extensions/http_client/description.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/http_client/description.yml b/extensions/http_client/description.yml index 118cef9..dd2d552 100644 --- a/extensions/http_client/description.yml +++ b/extensions/http_client/description.yml @@ -1,7 +1,7 @@ extension: name: http_client description: DuckDB HTTP Client Extension - version: 0.0.3 + version: 0.0.4 language: C++ build: cmake license: MIT @@ -12,7 +12,7 @@ extension: repo: github: quackscience/duckdb-extension-httpclient - ref: 9b006341fa0fe9ade344620c40d867babe359645 + ref: d3a3deee6bb4c914b52a627e6ab1da1b563012c9 docs: hello_world: |