Skip to content

Commit

Permalink
http--1.4.sql DELETE accepts content
Browse files Browse the repository at this point in the history
  • Loading branch information
lucajoos authored Mar 3, 2022
1 parent e54b0be commit 8147978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http--1.4.sql
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ CREATE OR REPLACE FUNCTION http_patch(uri VARCHAR, content VARCHAR, content_type
AS $$ SELECT @[email protected](('PATCH', $1, NULL, $3, $2)::@[email protected]_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 @[email protected](('DELETE', $1, NULL, NULL, NULL)::@[email protected]_request) $$
AS $$ SELECT @[email protected](('DELETE', $1, NULL, $3, $2)::@[email protected]_request) $$
LANGUAGE 'sql';

CREATE OR REPLACE FUNCTION http_head(uri VARCHAR)
Expand Down

0 comments on commit 8147978

Please sign in to comment.