Skip to content

Commit

Permalink
fix: renamed headers_list to headers_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
c7h committed Jun 11, 2022
1 parent 1699d0e commit 8f6efb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions restler/engine/transport_layer/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def headers(self) -> str:
pass

@abstractproperty
def headers_list(self) -> Dict:
def headers_dict(self) -> Dict:
pass

@abstractmethod
Expand Down Expand Up @@ -94,7 +94,7 @@ def headers(self) -> str:
return header_str

@property
def headers_list(self) -> Dict:
def headers_dict(self) -> Dict:
h_dict = dict()
for k, v in self._response.headers.iter_raw():
h_dict[k] = v
Expand Down

0 comments on commit 8f6efb5

Please sign in to comment.