codesamplex

サンプル

Handle shelf request URL parsing, subpath rewrites with change, single-subscription body buffering, and pipeline error handling

sha256:8b87dbe3a6d2ab33ba4b807d61e35686efe22f1481d942766d8e1190783f14fe

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Handle shelf request URL parsing, subpath rewrites with change, single-subscription body buffering, and pipeline error handling HOW
パッケージ
shelf 1.4.2
環境
dart
作成日
2026-08-16T12:20:28Z

よくある思い込み

A shelf Request's url property is an absolute Uri whose path starts with a leading slash matching requestedUri.path, and change(path:) appends subpaths.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート