Skip to content

Commit

Permalink
More CI changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Sep 11, 2024
1 parent ab709e0 commit d372b93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions expected/http.out
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ FROM http_get('https://httpbin.org/anything', jsonb_build_object('this', 'that')
-- GET with data
SELECT status,
content::json->'args' as args,
content::json->>'data' as data,
(content::json)->>'data' as data,
content::json->'url' as url,
content::json->'method' as method
from http(('GET', 'https://httpbin.org/anything', NULL, 'application/json', '{"search": "toto"}'));
FROM http(('GET', 'https://httpbin.org/anything', NULL, 'application/json', '{"search": "toto"}'));
status | args | data | url | method
--------+------+--------------------+--------------------------------+--------
200 | {} | {"search": "toto"} | "https://httpbin.org/anything" | "GET"
Expand Down Expand Up @@ -156,7 +156,7 @@ WHERE field ILIKE 'Abcde';

-- Follow redirect
SELECT status,
content::json->'url' AS url
(content::json)->'url' AS url
FROM http_get('https://httpbin.org/redirect-to?url=get');
status | url
--------+---------------------------
Expand Down
2 changes: 1 addition & 1 deletion sql/http.sql
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ WHERE field ILIKE 'Abcde';

-- Follow redirect
SELECT status,
content::json->'url' AS url
(content::json)->'url' AS url
FROM http_get('https://httpbin.org/redirect-to?url=get');

-- Request image
Expand Down

0 comments on commit d372b93

Please # to comment.