Skip to content

Commit

Permalink
fix update from 1.1 (sync with http--1.2.sql as of 1fa690d)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbussmann committed Jul 18, 2017
1 parent 05f4c13 commit 62dde66
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions http--1.1--1.2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ CREATE OR REPLACE FUNCTION http_head(uri VARCHAR)
RETURNS http_response
AS $$ SELECT http(('HEAD', $1, NULL, NULL, NULL)::http_request) $$
LANGUAGE 'sql';

CREATE OR REPLACE FUNCTION http_set_curlopt (curlopt VARCHAR, value VARCHAR)
RETURNS boolean
AS 'MODULE_PATHNAME', 'http_set_curlopt'
LANGUAGE 'c';

CREATE OR REPLACE FUNCTION http_reset_curlopt ()
RETURNS boolean
AS 'MODULE_PATHNAME', 'http_reset_curlopt'
LANGUAGE 'c';

0 comments on commit 62dde66

Please sign in to comment.