mirror of
https://github.com/aler9/gortsplib
synced 2025-10-12 18:40:07 +08:00
rename Response Status into StatusMessage
This commit is contained in:
@@ -61,7 +61,7 @@ func NewAuthClient(header []string, user string, pass string) (*AuthClient, erro
|
||||
}
|
||||
|
||||
// GenerateHeader generates an Authorization Header that allows to authenticate a request with
|
||||
// the given method and path.
|
||||
// the given method and url.
|
||||
func (ac *AuthClient) GenerateHeader(method Method, ur *url.URL) []string {
|
||||
ha1 := md5Hex(ac.user + ":" + ac.realm + ":" + ac.pass)
|
||||
ha2 := md5Hex(string(method) + ":" + ur.String())
|
||||
|
Reference in New Issue
Block a user