@@ -8,8 +8,8 @@ planning and removing outdated features.
88In DotKernel API we can mark an entire endpoint or a single method as deprecated using attributes on handlers.
99We use response headers to inform the consumers about the future changes by using 2 new headers:
1010
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.
1313
1414** Both headers are independent, you can use them separately.**
1515
@@ -48,7 +48,7 @@ HTTP/1.1 200 OK
4848Host: 0.0.0.0:8080
4949Date: Mon, 24 Jun 2024 10:23:11 GMT
5050Connection: close
51- X-Powered-By: PHP/8.2 .20
51+ X-Powered-By: PHP/6.4 .20
5252Content-Type: application/json
5353Permissions-Policy: interest-cohort=()
5454Sunset: 2038-01-01
@@ -95,7 +95,7 @@ HTTP/1.1 200 OK
9595Host: 0.0.0.0:8080
9696Date: Mon, 24 Jun 2024 10:54:57 GMT
9797Connection: close
98- X-Powered-By: PHP/8.2 .20
98+ X-Powered-By: PHP/6.4 .20
9999Content-Type: application/json
100100Permissions-Policy: interest-cohort=()
101101Sunset: 2038-01-01
0 commit comments