From 40bb49fc0b80d5ff97875903b2c2e55ff394cecc Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 27 Jun 2026 20:19:56 +0900 Subject: refactor(http): present reqwest instead of faking curl_version - StreamContextFactory: User-Agent reports the HTTP stack as "reqwest" - RequestProxy::supports_secure_proxy: always true (reqwest+rustls can always TLS to a proxy); drop the now-dead curl<7.52 guard in get_curl_options - DiagnoseCommand::get_curl_version: phase-D TODO placeholder Empirically verified: reqwest sends no default User-Agent (shirabe sets it explicitly) and accepts https:// proxy URLs. init+install output stays byte-identical to Composer. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/command/search_command_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/shirabe/tests/command/search_command_test.rs') diff --git a/crates/shirabe/tests/command/search_command_test.rs b/crates/shirabe/tests/command/search_command_test.rs index ebdd4bd..69f2930 100644 --- a/crates/shirabe/tests/command/search_command_test.rs +++ b/crates/shirabe/tests/command/search_command_test.rs @@ -36,7 +36,7 @@ fn run_search_case(command: Vec<(PhpMixed, PhpMixed)>, expected: &str) { #[test] #[serial] -#[ignore = "searching a `package`-type repo constructs an HTTP downloader whose User-Agent build calls curl_version() (todo!() in shirabe-php-shim::curl); the HTTP layer is not yet ported"] +#[ignore = "searching a `package`-type repo returns incomplete results (some matching packages are dropped); the search/repository path is not yet fully ported"] fn test_search() { // 'by name and description' run_search_case( -- cgit v1.3.1