Ejemplo
guzzlehttp/guzzle 7.15.3: Distinguish Guzzle 7 PSR-18 sendRequest behavior from send on HTTP error status codes, redirects, and network exception types
Muestra verificada para composer guzzlehttp/guzzle 7.15.3: Distinguish Guzzle 7 PSR-18 sendRequest behavior from send on HTTP error status codes, redirects…
sha256:127a21df5b67e48e68eacb2abf9bfd419723a89b1cf901e61bff910bf98eec24
Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido.
Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas.
MIT-0
Evidencia de ejecución
El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.
- Base de evidencia
- Contrato firmado aprobado
- Recibos de verificación
- 2
- Claves de firma que lo compilaron
- 2
Entorno declarado
php linux x64 php php composer
Entornos de las ejecuciones de verificación
| Entorno | Contrato | Etapas | Ejecución |
|---|---|---|---|
| php 8 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · composer@1 |
2026-08-16 |
| php 8 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · composer@1 |
2026-08-18 |
Caso
HOW- Objetivo
- Distinguish Guzzle 7 PSR-18 sendRequest behavior from send on HTTP error status codes, redirects, and network exception types
- Paquetes
- Símbolos
-
- GuzzleHttp\Client
- GuzzleHttp\ClientInterface
- GuzzleHttp\Exception\ConnectException
- Psr\Http\Client\ClientInterface
- Entorno
- php
- Creado
- 2026-08-16T12:36:34Z
Contrato
- PSR-18 sendRequest returns 4xx and 5xx status codes as valid ResponseInterface instances without throwing ClientException even when http_errors is enabled by default
- PSR-18 sendRequest returns 3xx redirect responses directly without following location headers even when allow_redirects is enabled by default
- Standard send follows 3xx redirects to destination and throws ClientException on 4xx responses under default client options
- ConnectException implements PSR-18 NetworkExceptionInterface and ClientExceptionInterface and preserves the failed RequestInterface
- Client implements Psr\Http\Client\ClientInterface and ClientInterface::MAJOR_VERSION is 7
Archivos
- NOTES.md
- composer.json
- composer.lock
- csx.json
- test/contract.php