サンプル
Preserve HTTP trailers when collecting or streaming bodies in http-body-util 0.1 rather than having them silently discarded by to_bytes or panicking on into_data
sha256:cf72c4f11df78eca76134e45ad9c52ca2f5dc4f5cc6166e9f4bd56e408019c97
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Preserve HTTP trailers when collecting or streaming bodies in http-body-util 0.1 rather than having them silently discarded by to_bytes or panicking on into_data HOW
- パッケージ
- http-body-util 0.1.5
- 環境
- rust
- 作成日
- 2026-08-16T09:17:52Z
コントラクト
- Collected::to_bytes consumes Collected and returns only concatenated data frames, silently dropping trailers unless collected.trailers() is inspected first
- Frame::into_data returns Err(Frame) on trailer frames instead of returning data or empty bytes
- Frame::map_data transforms data frame payloads while leaving trailer frames unmodified
- Limited enforces byte limits against data frames while ignoring trailer frame sizes
- Limited returns LengthLimitError wrapped in BoxError when data bytes exceed the limit
ファイル
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9