@@ -8,8 +8,8 @@ planning and removing outdated features.
8
8
In DotKernel API we can mark an entire endpoint or a single method as deprecated using attributes on handlers.
9
9
We use response headers to inform the consumers about the future changes by using 2 new headers:
10
10
11
- 1 ) ` Link ` - it's a link to the official documentation pointing out the changes that will take place.
12
- 2 ) ` Sunset ` - this header is a date, indicating when the deprecated resource will potentially become unresponsive.
11
+ - ` Link ` - it's a link to the official documentation pointing out the changes that will take place.
12
+ - ` Sunset ` - this header is a date, indicating when the deprecated resource will potentially become unresponsive.
13
13
14
14
** Both headers are independent, you can use them separately.**
15
15
@@ -48,7 +48,7 @@ HTTP/1.1 200 OK
48
48
Host: 0.0.0.0:8080
49
49
Date: Mon, 24 Jun 2024 10:23:11 GMT
50
50
Connection: close
51
- X-Powered-By: PHP/8.2 .20
51
+ X-Powered-By: PHP/6.4 .20
52
52
Content-Type: application/json
53
53
Permissions-Policy: interest-cohort=()
54
54
Sunset: 2038-01-01
@@ -95,7 +95,7 @@ HTTP/1.1 200 OK
95
95
Host: 0.0.0.0:8080
96
96
Date: Mon, 24 Jun 2024 10:54:57 GMT
97
97
Connection: close
98
- X-Powered-By: PHP/8.2 .20
98
+ X-Powered-By: PHP/6.4 .20
99
99
Content-Type: application/json
100
100
Permissions-Policy: interest-cohort=()
101
101
Sunset: 2038-01-01
0 commit comments