From 2d474e91e49c7343d28198eff2b5bbbed9afbcee Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 10 Jun 2026 02:41:34 +0900 Subject: feat(phase-c): resolve cross-module phase-b TODOs --- crates/shirabe/src/util/remote_filesystem.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/util/remote_filesystem.rs') diff --git a/crates/shirabe/src/util/remote_filesystem.rs b/crates/shirabe/src/util/remote_filesystem.rs index bd4aaa8..dc6a2a4 100644 --- a/crates/shirabe/src/util/remote_filesystem.rs +++ b/crates/shirabe/src/util/remote_filesystem.rs @@ -720,7 +720,8 @@ impl RemoteFilesystem { } let mut caught_e: Option = None; - // TODO(phase-b): wrap PHP's `file_get_contents` with stream context and error capture. + // TODO(phase-c): wrap PHP's `file_get_contents` with stream context and error capture; + // depends on the unmodeled PHP stream-context layer. let outer: Result, anyhow::Error> = Ok(None); match outer { Ok(v) => result = v, @@ -743,7 +744,8 @@ impl RemoteFilesystem { *response_headers = http_get_last_response_headers().unwrap_or_default(); http_clear_last_response_headers(); } else { - // TODO(phase-b): read the magic `$http_response_header` PHP variable. + // TODO(phase-c): read the magic `$http_response_header` PHP variable; depends on the + // unmodeled PHP stream layer that populates it. *response_headers = Vec::new(); } -- cgit v1.3.1