Standard library / net/http

http.StatusRequestTimeout

HTTP status 408. The server did not receive a complete request in time. Expected stdout: '408\n'.

Formal Syntax & Structure

go syntaxgo
const StatusRequestTimeout = 408

Working Example

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