Add Hass.io user headers to supervisor proxy
This commit is contained in:
1 parent
3f65a03024
commit
fd21d6cc9d
5 files changed
+46
-6
No files matched your search
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user