샘플
Ensure Faraday::Adapter::NetHttp returns mutable response bodies on bodyless and headerless responses without raising FrozenError in downstream middleware
sha256:e1bf1042d985e9d11c5b58e72002404c9023f4a82146e9d2a46593dfd927f8c7
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Ensure Faraday::Adapter::NetHttp returns mutable response bodies on bodyless and headerless responses without raising FrozenError in downstream middleware HOW
- 패키지
- faraday-net_http 3.4.4
- 환경
- ruby
- 생성일
- 2026-08-17T02:40:52Z
컨트랙트
- assert encoded_body returns a mutable string (+'') when the HTTP response has no body and no Content-Type header
- assert in-place mutation of response body succeeds without raising FrozenError
- assert encoded_body returns a mutable string when Content-Type is present but contains no charset parameter
- assert encoded_body forces specified charset and returns a mutable string when Content-Type contains charset
- assert frozen input body is duplicated before forcing encoding to prevent chilled string mutation warnings
- assert invalid charset in Content-Type is rescued and falls back to a mutable empty string
- assert downstream middleware modifying response_body in place runs successfully on 204 No Content responses
- assert net_http_connection configures HTTP proxy parameters correctly
파일
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- src/body_processor.rb
- test/contract.rb
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9