We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d197ee3 commit 2da83a7Copy full SHA for 2da83a7
frameworks/Haskell/postgrest/src/fortunes.sql
@@ -9,6 +9,8 @@ create or replace function fortune_template("Fortune") returns text as $$
9
$$ language sql immutable;
10
11
create or replace function fortunes() returns "text/html" as $$
12
+ -- This is only necessary bc. of the benchmark: The domain gives us content-type: text/html,
13
+ -- but the benchmark explicitly tests for the charset in the content-type.
14
select set_config('response.headers', '[{"Content-Type": "text/html; charset=utf-8"}]', true);
15
16
select '<!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr>'
0 commit comments