Standard library / net/http

http.StatusRequestedRangeNotSatisfiable

HTTP status 416. The requested range cannot be satisfied. Expected stdout: '416\n'.

Formal Syntax & Structure

go syntaxgo
const StatusRequestedRangeNotSatisfiable = 416

Working Example

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