Standard library / net/http

http.StatusRequestHeaderFieldsTooLarge

HTTP status 431. Request header fields are too large. Expected stdout: '431\n'.

Formal Syntax & Structure

go syntaxgo
const StatusRequestHeaderFieldsTooLarge = 431

Working Example

Example Snippetgo
package main
import (  "fmt"  "net/http")
func main() { fmt.Println(http.StatusRequestHeaderFieldsTooLarge) }
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)  }}
Go Reference