@@ -813,7 +813,7 @@ async def __call__(self,
813813 response_payload = None
814814 http_response = {
815815 "payload" : response_payload ,
816- "headers" : str ( dict (response .headers ) ),
816+ "headers" : dict (response .headers ),
817817 "status" : "OK" , # need to obtain this properly
818818 }
819819 _LOGGER .debug (
@@ -938,7 +938,7 @@ async def __call__(self,
938938 response_payload = None
939939 http_response = {
940940 "payload" : response_payload ,
941- "headers" : str ( dict (response .headers ) ),
941+ "headers" : dict (response .headers ),
942942 "status" : "OK" , # need to obtain this properly
943943 }
944944 _LOGGER .debug (
@@ -1066,7 +1066,7 @@ async def __call__(self,
10661066 response_payload = None
10671067 http_response = {
10681068 "payload" : response_payload ,
1069- "headers" : str ( dict (response .headers ) ),
1069+ "headers" : dict (response .headers ),
10701070 "status" : "OK" , # need to obtain this properly
10711071 }
10721072 _LOGGER .debug (
@@ -1194,7 +1194,7 @@ async def __call__(self,
11941194 response_payload = None
11951195 http_response = {
11961196 "payload" : response_payload ,
1197- "headers" : str ( dict (response .headers ) ),
1197+ "headers" : dict (response .headers ),
11981198 "status" : "OK" , # need to obtain this properly
11991199 }
12001200 _LOGGER .debug (
@@ -1316,7 +1316,7 @@ async def __call__(self,
13161316 response_payload = None
13171317 http_response = {
13181318 "payload" : response_payload ,
1319- "headers" : str ( dict (response .headers ) ),
1319+ "headers" : dict (response .headers ),
13201320 "status" : "OK" , # need to obtain this properly
13211321 }
13221322 _LOGGER .debug (
@@ -1438,7 +1438,7 @@ async def __call__(self,
14381438 response_payload = None
14391439 http_response = {
14401440 "payload" : response_payload ,
1441- "headers" : str ( dict (response .headers ) ),
1441+ "headers" : dict (response .headers ),
14421442 "status" : "OK" , # need to obtain this properly
14431443 }
14441444 _LOGGER .debug (
@@ -1566,7 +1566,7 @@ async def __call__(self,
15661566 response_payload = None
15671567 http_response = {
15681568 "payload" : response_payload ,
1569- "headers" : str ( dict (response .headers ) ),
1569+ "headers" : dict (response .headers ),
15701570 "status" : "OK" , # need to obtain this properly
15711571 }
15721572 _LOGGER .debug (
@@ -1690,7 +1690,7 @@ async def __call__(self,
16901690 response_payload = None
16911691 http_response = {
16921692 "payload" : response_payload ,
1693- "headers" : str ( dict (response .headers ) ),
1693+ "headers" : dict (response .headers ),
16941694 "status" : "OK" , # need to obtain this properly
16951695 }
16961696 _LOGGER .debug (
@@ -1818,7 +1818,7 @@ async def __call__(self,
18181818 response_payload = None
18191819 http_response = {
18201820 "payload" : response_payload ,
1821- "headers" : str ( dict (response .headers ) ),
1821+ "headers" : dict (response .headers ),
18221822 "status" : "OK" , # need to obtain this properly
18231823 }
18241824 _LOGGER .debug (
@@ -1946,7 +1946,7 @@ async def __call__(self,
19461946 response_payload = None
19471947 http_response = {
19481948 "payload" : response_payload ,
1949- "headers" : str ( dict (response .headers ) ),
1949+ "headers" : dict (response .headers ),
19501950 "status" : "OK" , # need to obtain this properly
19511951 }
19521952 _LOGGER .debug (
@@ -2074,7 +2074,7 @@ async def __call__(self,
20742074 response_payload = None
20752075 http_response = {
20762076 "payload" : response_payload ,
2077- "headers" : str ( dict (response .headers ) ),
2077+ "headers" : dict (response .headers ),
20782078 "status" : "OK" , # need to obtain this properly
20792079 }
20802080 _LOGGER .debug (
0 commit comments