LAWS.tunnel_needs_200: law of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/LAWS.bend as LAWS Lines 285-289 of bend-kube-runtime@0.2.0.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/LAWS.bend&start_line=285&end_line=289 import Base import bend-kube-runtime@0.2.0.0/src/utf8.bend as U import bend-kube-runtime@0.2.0.0/src/proxy.bend as P # Only a 200 opens the tunnel; any other answer fails it, quoted. law tunnel_needs_200: {P.Tunnel.feed(P.Tunnel.init(), U.Utf8.encode("HTTP/1.1 407 Proxy Authentication Required\r\n\r\n")) == P.TFail{"proxy refused CONNECT: HTTP/1.1 407 Proxy Authentication Required"} : P.Tunnel} Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/proxy.bend&name=Tunnel https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/proxy.bend&name=Tunnel.feed https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/proxy.bend&name=Tunnel.init https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/utf8.bend&name=Utf8.encode