const net/http.StatusSwitchingProtocols
5 uses
net/http (current package)
response.go#L363: return code == StatusSwitchingProtocols && isProtocolSwitchHeader(h)
server.go#L1216: if code >= 100 && code <= 199 && code != StatusSwitchingProtocols {
status.go#L11: StatusSwitchingProtocols = 101 // RFC 9110, 15.2.2
status.go#L85: case StatusSwitchingProtocols:
transport.go#L2409: is1xxNonTerminal := is1xx && resCode != StatusSwitchingProtocols
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |