Exemplo
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
Caso
- Objetivo
- 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
- Pacotes
- http-body-util 0.1.5
- Ambiente
- rust
- Criado
- 2026-08-16T09:17:52Z
Contrato
- 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
Arquivos
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9