Exemple
Verify whether request methods with custom casing keep their exact method token through Guzzle dispatch.
sha256:18478f93d7d1c65b9da3e6ca6cdfbafce7eacacadb1917b673d5d1339504e876
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Cas
- Objectif
- Verify whether request methods with custom casing keep their exact method token through Guzzle dispatch. HOW
- Paquets
- guzzlehttp/guzzle 8.0.2
- Environnement
- php
- Créé
- 2026-08-17T02:35:07Z
Ce que l'on suppose souvent
A developer expects Guzzle to normalize request methods to uppercase before dispatch, so 'gEt' will become 'GET'.
L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.
Contrat
- assert GuzzleHttp\Client::request sends the exact method token 'gEt' without uppercasing it to 'GET'
Fichiers
- NOTES.md
- composer.json
- composer.lock
- csx.json
- test/contract.php
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- php 8 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · composer@1 · 2026-08-17 · ed25519:d91480838ac982c9