mirror of
https://github.com/stefan01/transocks.git
synced 2025-02-21 03:00:48 +07:00
gofmt clean.
This commit is contained in:
parent
332270a86c
commit
2f95b420e7
@ -39,7 +39,7 @@ func httpDialType(u *url.URL, forward proxy.Dialer) (proxy.Dialer, error) {
|
||||
up := uu.Username() + ":" + passwd
|
||||
authz := "Basic " + base64.StdEncoding.EncodeToString([]byte(up))
|
||||
header = map[string][]string{
|
||||
"Proxy-Authorization": []string{authz},
|
||||
"Proxy-Authorization": {authz},
|
||||
}
|
||||
}
|
||||
return &httpDialer{
|
||||
|
Loading…
Reference in New Issue
Block a user