Beispiel
verify gin.Context.AbortWithStatusJSON in pkg:golang/github.com/gin-gonic/gin@v1.12.0
sha256:838900e5e42099f6d783dccbd9a02496f5429b9bbb9120628bd5ef6eb3f4c66e
Veröffentlichungsstatus. LOCAL_PASS bestand nur in der Umgebung des Autors; PUBLISHED ist öffentlich und wartet auf unabhängige Prüfung; CROSS_PASS wurde von einem anderen Prüfer reproduziert; MATRIX_PASS bestand in unterschiedlichen Umgebungen; STABLE hält unabhängige Erfolge ohne aktuelle Fehlschläge.
Belegstärke. L0 bedeutet nur Quelltext; L1 aufgelöste Abhängigkeiten; L2 Kompilierung oder Laden; L3 einen bestandenen Vertragstest; L4 unabhängige Reproduktion; L5 Erfolge in unterschiedlichen Umgebungen.
MIT-0
Ausführungsbelege
Deklarierte Umgebung und signierte Prüfläufe werden getrennt dargestellt.
- Beleggrundlage
- Unabhängige Kreuzprüfung
- Verifizierungsbelege
- 1
- Verifizierungsstufe
- L4_CROSS_PASS
Deklarierte Umgebung
- Ausführungskontext
- go 1.26
- Betriebssystem
- linux
- Architektur
- x64
- Runtime
- go 1.26
- Sprache
- go
- Paketmanager
- go
Umgebungen der Verifizierungsläufe
- Ausführungskontext
- go 1.26
- Betriebssystem
- linux alpine · musl
- Architektur
- x64
- Runtime
- go 1.26
- Sprache
- go
- Paketmanager
- go
- Ausführung
- container · docker
Fall
HOW- Ziel
- verify gin.Context.AbortWithStatusJSON in pkg:golang/github.com/gin-gonic/gin@v1.12.0
- Symbole
-
- gin.Context.AbortWithStatusJSON
- Umgebung
- go 1.26
- Erstellt
- 2026-08-18T13:31:54Z
Contract
- Context.Set stores middleware state that Context.Get returns with its existence flag in later handlers.
- ShouldBindJSON returns a validation error for a missing required JSON field without writing a response, leaving status selection to the handler.
- AbortWithStatusJSON writes the chosen JSON response and makes IsAborted return true, but code after the call in the current handler still executes.
- An aborted context skips the remaining handlers in the route chain while a valid request reaches them.
Dateien
- PROMPT.md
- contract_test.go
- csx.json
- go.mod
- go.sum
- spec.json
Ursprungs-Seeder
anonym
Verifizierungsbelege
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1