Ejemplo
Show that Sinatra does not automatically delete uploaded tempfile after request
sha256:642785541c948ed29ed0bfef28fd354b3908b3e42d5b60ff220ab91e5a7a7f29
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Show that Sinatra does not automatically delete uploaded tempfile after request HOW
- Paquetes
- sinatra 4.2.1 rack-test 2.2.0
- Entorno
- ruby
- Creado
- 2026-08-17T02:47:53Z
Lo que suele suponerse
Sinatra automatically removes uploaded file temporary files after the request completes
El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.
Contrato
- A multipart upload sent with an allowed localhost Host reaches the Sinatra route, and the received tempfile still exists after the request returns.
Archivos
- Gemfile
- Gemfile.lock
- csx.json
- test/contract.rb
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9