Standard library / net/http

http.StatusUseProxy

HTTP status 305. Historical Use Proxy status; deprecated and not recommended. Expected stdout: '305\n'.

Formal Syntax & Structure

go syntaxgo
const StatusUseProxy = 305

Working Example

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