Standard library / net/http
http.StatusLoopDetected
HTTP status 508. The server detected a loop while processing a request (WebDAV). Expected stdout: '508\n'.
Formal Syntax & Structure
go syntaxgo
const StatusLoopDetected = 508Working Example
Example Snippetgo
package main
import ( "fmt" "net/http")
func main() { fmt.Println(http.StatusLoopDetected) }
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) }}