diff --git a/http--1.4.sql b/http--1.4.sql index f6054b7..bd26c8e 100644 --- a/http--1.4.sql +++ b/http--1.4.sql @@ -81,9 +81,9 @@ CREATE OR REPLACE FUNCTION http_patch(uri VARCHAR, content VARCHAR, content_type AS $$ SELECT @extschema@.http(('PATCH', $1, NULL, $3, $2)::@extschema@.http_request) $$ LANGUAGE 'sql'; -CREATE OR REPLACE FUNCTION http_delete(uri VARCHAR) +CREATE OR REPLACE FUNCTION http_delete(uri VARCHAR, content VARCHAR, content_type VARCHAR) RETURNS http_response - AS $$ SELECT @extschema@.http(('DELETE', $1, NULL, NULL, NULL)::@extschema@.http_request) $$ + AS $$ SELECT @extschema@.http(('DELETE', $1, NULL, $3, $2)::@extschema@.http_request) $$ LANGUAGE 'sql'; CREATE OR REPLACE FUNCTION http_head(uri VARCHAR)