CodeSampleX

サンプル

Verify whether request methods with custom casing keep their exact method token through Guzzle dispatch.

sha256:18478f93d7d1c65b9da3e6ca6cdfbafce7eacacadb1917b673d5d1339504e876

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Verify whether request methods with custom casing keep their exact method token through Guzzle dispatch. HOW
パッケージ
guzzlehttp/guzzle 8.0.2
環境
php
作成日
2026-08-17T02:35:07Z

よくある思い込み

A developer expects Guzzle to normalize request methods to uppercase before dispatch, so 'gEt' will become 'GET'.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート