Standard library / net/http
http.StatusTooEarly
HTTP status 425. The server is unwilling to risk processing potentially replayed early data. Expected stdout: '425\n'.
Formal Syntax & Structure
go syntaxgo
const StatusTooEarly = 425Working Example
Example Snippetgo
package main
import ( "fmt" "net/http")
func main() { fmt.Println(http.StatusTooEarly) }
func must[T any](v T, e error) T { if e != nil { panic(e) } return v}func check(e error) { if e != nil { panic(e) }}