Beispiel
Handle faraday-net_http silent behavioral changes across version boundaries including HTTPS proxy SSL enablement, mutable empty bodies, array client_cert extra_chain_cert splitting, HTTP SSL configuration bypass, and Content-Type charset forcing
sha256:9338c27f9a8f958e2af4e2210527279c2f6fe154b96ae84fef4b0ab00e3d7686
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Handle faraday-net_http silent behavioral changes across version boundaries including HTTPS proxy SSL enablement, mutable empty bodies, array client_cert extra_chain_cert splitting, HTTP SSL configuration bypass, and Content-Type charset forcing HOW
- Pakete
- faraday-net_http 3.4.4
- Umgebung
- ruby
- Erstellt
- 2026-08-17T02:42:40Z
Contract
- assert HTTPS proxy URIs set Net::HTTP @proxy_use_ssl to true while HTTP proxy URIs leave it false
- assert encoded_body returns a mutable unfrozen empty string when response body is nil without Content-Type
- assert client_cert Array splits the first certificate into http.cert and the remaining chain into http.extra_chain_cert
- assert plain http URLs skip SSL configuration without initializing cert_store while https URLs configure OpenSSL cert_store
- assert Content-Type charset forces body encoding but silently retains binary ASCII-8BIT without raising ArgumentError on invalid charsets
- assert configure_request disables Net::HTTP default retries by setting max_retries to 0
Dateien
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9