Add Hass.io user headers to supervisor proxy

This commit is contained in:
Paulus Schoutsen committed 2019-01-11 10:00:38 -08:00
1 parent 3f65a03024
commit fd21d6cc9d
5 files changed
+46 -6

No files matched your search

+5
View File
@@ -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."""