Add Hass.io user headers to supervisor proxy
This commit is contained in:
parent
3f65a03024
commit
fd21d6cc9d
5 changed files with 46 additions and 6 deletions
|
@ -182,6 +182,11 @@ class AiohttpClientMockResponse:
|
|||
"""Return yarl of URL."""
|
||||
return self._url
|
||||
|
||||
@property
|
||||
def content_type(self):
|
||||
"""Return yarl of URL."""
|
||||
return self._headers.get('content-type')
|
||||
|
||||
@property
|
||||
def content(self):
|
||||
"""Return content."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue