You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark TASK-010 as Done in both the task file and specs/tasks/_index.md,
tick the three Action Items checkboxes, and record the
2026-05-03 20:41 review run's 34 minor unworked findings under
specs/unworked_review_issues/. No critical or major findings; the
deferred items are predominantly cosmetic/style suggestions and
forward-task hooks for TASK-011 (accessor const-correctness) and
TASK-012 (fluent setters).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
-`static http_response unauthorized(std::string_view scheme, std::string_view realm, std::string body = {});`
19
-
-[] Each factory placement-news the appropriate `detail::body` subclass into `body_storage_` (and sets `body_inline_ = true`); for the (currently empty) heap-fallback path, the factory MUST use `::operator new(sizeof(concrete_body))` followed by placement-new (NOT plain `new concrete_body(...)`) so that `http_response`'s destructor — which always calls `body_->~body()` and then `::operator delete(body_)` for the heap path — does not double-destroy. This contract is set by TASK-009 (plan OQ-4) for symmetry between inline and heap teardown.
20
-
-[]`unauthorized()` covers both basic and digest auth (scheme parameter); replaces v1's `basic_auth_fail_response` and `digest_auth_fail_response`.
21
-
-[] Document lifetime: `pipe(fd, ...)` takes ownership of `fd` and closes it after the response is materialized.
19
+
-[x] Each factory placement-news the appropriate `detail::body` subclass into `body_storage_` (and sets `body_inline_ = true`); for the (currently empty) heap-fallback path, the factory MUST use `::operator new(sizeof(concrete_body))` followed by placement-new (NOT plain `new concrete_body(...)`) so that `http_response`'s destructor — which always calls `body_->~body()` and then `::operator delete(body_)` for the heap path — does not double-destroy. This contract is set by TASK-009 (plan OQ-4) for symmetry between inline and heap teardown.
20
+
-[x]`unauthorized()` covers both basic and digest auth (scheme parameter); replaces v1's `basic_auth_fail_response` and `digest_auth_fail_response`.
21
+
-[x] Document lifetime: `pipe(fd, ...)` takes ownership of `fd` and closes it after the response is materialized.
22
22
23
23
**Dependencies:**
24
24
- Blocked by: TASK-008, TASK-009, TASK-004
@@ -34,4 +34,4 @@ Provide one canonical way to construct each body kind via static factories that
0 commit comments