cleanup, docs

This commit is contained in:
root
2026-06-16 12:21:31 +00:00
parent dff1959341
commit ea08d5f28b
296 changed files with 1571 additions and 1940 deletions
+4 -3
View File
@@ -7,6 +7,7 @@ reason : optional reason phrase override
return value : none
:see
>types
0_Request
redirect
set_cookie
@@ -14,6 +15,6 @@ set_cookie
:content
Sets the request status line and mirrors the numeric status into `context.flags.status`. When `reason` is omitted, common HTTP status codes get their standard phrase. FastCGI-style requests use a `Status:` prefix; other requests use `HTTP/1.1`.
```cpp
context.set_status(404, "Not Found");
```
:example
context.set_status(200, "OK");
print(context.flags.status, "\n");