-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor header construction WRT authorization
According to [1], "X-Emby-Authorization" and "X-MediaBrowser-Token" headers are deprecated. Sadly, this is how this library authenticates with a server. Switch to using the Authorization header, but also remove some duplication with header construction so it is only done in the HTTP code. Handle requests that do not include an AccessToken, along with correcting how the connection manager creates its own API object. 1: https://gist.github.com/nielsvanvelzen/ea047d9028f676185832e51ffaf12a6f
- Loading branch information
1 parent
60018e4
commit 3fae2cc
Showing
3 changed files
with
28 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters