Skip to content

Commit a7e0627

Browse files
committed
fix: 오류 회피를 위해 코드 추가
1 parent 816cc15 commit a7e0627

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/httpc/_parse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class Response(httpx.Response, ParseTool):
7575

7676
@classmethod
7777
def from_httpx(cls, response: httpx.Response) -> Response:
78+
response.encoding # type: ignore # noqa # AttributeError: 'Headers' object has no attribute '_encoding' 오류를 피하기 위해 불러옴
7879
self = cls.__new__(cls)
7980
self.__dict__ = response.__dict__
8081
self._response = response

0 commit comments

Comments
 (0)