-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http--1.4.sql DELETE accepts content
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|