fix tapo h200 + d230 doorbell stream
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ func dial(req *http.Request, brand, username, password string) (net.Conn, *http.
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
_ = res.Body.Close() // ignore response body
|
_, _ = io.Copy(io.Discard, res.Body) // ignore response body
|
||||||
|
|
||||||
auth := res.Header.Get("WWW-Authenticate")
|
auth := res.Header.Get("WWW-Authenticate")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user