Skip to content

Commit ceb1ada

Browse files
etrclaude
andcommitted
TASK-026: mark action items checked (status: In Progress)
Ticks the four action-item checkboxes on TASK-026.md, flips the task's own status line to "In Progress", and mirrors that status into the M4 row of specs/tasks/_index.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 022bbbf commit ceb1ada

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

specs/tasks/M4-handlers/TASK-026.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
Provide the table-driven escape hatch for registering handlers when the HTTP method is a runtime value.
99

1010
**Action Items:**
11-
- [ ] Add `webserver::route(http_method m, const std::string& path, std::function<http_response(const http_request&)> handler);`.
12-
- [ ] Implementation dispatches to the same internal registration path used by `on_*`.
13-
- [ ] Document the call-site convention: `route()` is the escape hatch; `on_*` is preferred when the method is known statically.
14-
- [ ] Add `webserver::route(method_set methods, const std::string& path, handler)` if a single handler should serve multiple methods (e.g., GET and HEAD).
11+
- [x] Add `webserver::route(http_method m, const std::string& path, std::function<http_response(const http_request&)> handler);`.
12+
- [x] Implementation dispatches to the same internal registration path used by `on_*`.
13+
- [x] Document the call-site convention: `route()` is the escape hatch; `on_*` is preferred when the method is known statically.
14+
- [x] Add `webserver::route(method_set methods, const std::string& path, handler)` if a single handler should serve multiple methods (e.g., GET and HEAD).
1515

1616
**Dependencies:**
1717
- Blocked by: TASK-005, TASK-025
@@ -26,4 +26,4 @@ Provide the table-driven escape hatch for registering handlers when the HTTP met
2626
**Related Requirements:** PRD-HDL-REQ-006
2727
**Related Decisions:** §4.7, OQ-003 resolution
2828

29-
**Status:** Not Started
29+
**Status:** In Progress

specs/tasks/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Nominally: **13 sequential tasks**, each S–XL. Most other tasks parallelize of
108108
| TASK-023 | Smart-pointer `register_resource` overloads | M4 | Done | TASK-014 |
109109
| TASK-024 | `register_path` and `register_prefix` (replace `bool family`) | M4 | Done | TASK-023 |
110110
| TASK-025 | Lambda handler entry points `on_*` | M4 | Done | TASK-005, TASK-009, TASK-014 |
111-
| TASK-026 | Generic `webserver::route(method, path, handler)` | M4 | Not Started | TASK-005, TASK-025 |
111+
| TASK-026 | Generic `webserver::route(method, path, handler)` | M4 | In Progress | TASK-005, TASK-025 |
112112
| TASK-027 | 3-tier route table with LRU cache | M5 | Not Started | TASK-005, TASK-014, TASK-021, TASK-024, TASK-025, TASK-026 |
113113
| TASK-028 | Routing-semantics regression gate | M5 | Not Started | TASK-027 |
114114
| TASK-029 | Naming consistency — `stop_and_wait`, `block_ip`/`unblock_ip` | M5 | Not Started | TASK-014 |

0 commit comments

Comments
 (0)