fix tapo h200 + d230 doorbell stream

This commit is contained in:
Timo Christeleit
2025-01-08 11:03:17 +01:00
parent 33e0ccdd10
commit 8e4088e08f
+1 -1
View File
@@ -291,7 +291,7 @@ func dial(req *http.Request, brand, username, password string) (net.Conn, *http.
if err != nil {
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")