expose InterleavedFrame read/write functions

This commit is contained in:
aler9
2020-07-19 18:09:46 +02:00
parent 28192f091b
commit a110f2b6a2
4 changed files with 12 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ func (as *AuthServer) GenerateHeader() HeaderValue {
}
// ValidateHeader validates the Authorization header sent by a client after receiving the
// WWW-Authenticate header provided by GenerateHeader().
// WWW-Authenticate header.
func (as *AuthServer) ValidateHeader(v HeaderValue, method Method, ur *url.URL) error {
if len(v) == 0 {
return fmt.Errorf("authorization header not provided")