|
2 | 2 | INSERT INTO component (name, description, icon) |
3 | 3 | VALUES ( |
4 | 4 | '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. |
7 | 8 |
|
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. |
9 | 10 |
|
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]). |
23 | 24 | ', |
24 | 25 | 'world-www' |
25 | 26 | ); |
|
0 commit comments