From dd53b34b7bcc547857909adc08f43473bd1df5d7 Mon Sep 17 00:00:00 2001 From: Luca Joos <1a85ra7z@gmail.com> Date: Fri, 4 Mar 2022 09:36:54 +0100 Subject: [PATCH] Revert a6dc0600188c624a0ee9f5d25179ee015c26ad5f --- http--1.0--1.1.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http--1.0--1.1.sql b/http--1.0--1.1.sql index 22b86e0..9a9decb 100644 --- a/http--1.0--1.1.sql +++ b/http--1.0--1.1.sql @@ -56,9 +56,9 @@ CREATE OR REPLACE FUNCTION http_put(uri VARCHAR, content VARCHAR, content_type V AS $$ SELECT http(('PUT', $1, NULL, $3, $2)::http_request) $$ LANGUAGE 'sql'; -CREATE OR REPLACE FUNCTION http_delete(uri VARCHAR, content VARCHAR, content_type VARCHAR) +CREATE OR REPLACE FUNCTION http_delete(uri VARCHAR) RETURNS http_response - AS $$ SELECT http(('DELETE', $1, NULL, $3, $2)::http_request) $$ + AS $$ SELECT http(('DELETE', $1, NULL, NULL, NULL)::http_request) $$ LANGUAGE 'sql'; CREATE OR REPLACE FUNCTION urlencode(string VARCHAR)