Http.proxy.connect.header: def of bend-kit-http@0.38.2.0 Import: import bend-kit-http@0.38.2.0/http.bend as Http Lines 3467-3473 of bend-kit-http@0.38.2.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.2.0/http.bend&start_line=3467&end_line=3473 import Base def proxy.connect.header(+authority: String, authorization: String) -> String: match authorization: case SNil{}: "CONNECT " ++ authority ++ " HTTP/1.1\r\nHost: " ++ authority ++ "\r\n\r\n" case other: "CONNECT " ++ authority ++ " HTTP/1.1\r\nHost: " ++ authority ++ "\r\nProxy-Authorization: " ++ authorization ++ "\r\n\r\n" Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append