Further simplify OAuth handling for VW vehicles (#761)

This commit is contained in:
andig 2021-03-14 21:16:38 +01:00 • committed by GitHub
parent 2fd6345434
commit 3f8aac467a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 206 additions and 167 deletions

View file

@ -17,6 +17,11 @@ var (
"Content-Type": "application/json",
"Accept": "application/json",
}
// AcceptJSON accepting application/json
AcceptJSON = map[string]string{
"Accept": "application/json",
}
)
// StatusError indicates unsuccessful http response