Skip to content

Commit 21f1e79

Browse files
committed
fix display issue on http header component docs
1 parent 9762575 commit 21f1e79

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

examples/official-site/sqlpage/migrations/04_http_header.sql

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@
22
INSERT INTO component (name, description, icon)
33
VALUES (
44
'http_header',
5-
'An advanced component to set arbitrary HTTP headers: can be used to set a custom caching policy to your pages, or implement custom redirections, for example.
6-
If you are a beginner, you probably don''t need this component.
5+
'
6+
An advanced component to set arbitrary HTTP headers: can be used to set a custom caching policy to your pages, or implement custom redirections, for example.
7+
If you are a beginner, you probably don''t need this component.
78
8-
When used, this component has to be the first component in the page, because once the page is sent to the browser, it is too late to change the headers.
9+
When used, this component has to be the first component in the page, because once the page is sent to the browser, it is too late to change the headers.
910
10-
HTTP headers are additional pieces of information sent with responses to web requests that provide instructions
11-
or metadata about the data being sent — for example,
12-
setting cache control directives to control caching behavior
13-
or specifying the content type of a response.
14-
15-
Any valid HTTP header name can be used as a top-level parameter for this component.
16-
The examples shown here are just that, examples; and you can create any custom header
17-
if needed simply by declaring it.
18-
19-
If your header''s name contains a dash or any other special character,
20-
you will have to use your database''s quoting mechanism to declare it.
21-
In standard SQL, you can use double quotes to quote identifiers (like "X-My-Header"),
22-
in Microsoft SQL Server, you can use square brackets (like [X-My-Header]).
11+
HTTP headers are additional pieces of information sent with responses to web requests that provide instructions
12+
or metadata about the data being sent — for example,
13+
setting cache control directives to control caching behavior
14+
or specifying the content type of a response.
15+
16+
Any valid HTTP header name can be used as a top-level parameter for this component.
17+
The examples shown here are just that, examples; and you can create any custom header
18+
if needed simply by declaring it.
19+
20+
If your header''s name contains a dash or any other special character,
21+
you will have to use your database''s quoting mechanism to declare it.
22+
In standard SQL, you can use double quotes to quote identifiers (like "X-My-Header"),
23+
in Microsoft SQL Server, you can use square brackets (like [X-My-Header]).
2324
',
2425
'world-www'
2526
);

0 commit comments

Comments
 (0)