mirror of
https://github.com/Alexey71/opera-proxy.git
synced 2026-05-14 06:30:59 +00:00
fix basic auth scheme name
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
|||||||
const COPY_BUF = 128 * 1024
|
const COPY_BUF = 128 * 1024
|
||||||
|
|
||||||
func basic_auth_header(login, password string) string {
|
func basic_auth_header(login, password string) string {
|
||||||
return "basic " + base64.StdEncoding.EncodeToString(
|
return "Basic " + base64.StdEncoding.EncodeToString(
|
||||||
[]byte(login+":"+password))
|
[]byte(login+":"+password))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user