"Fix img url parsing"

This commit is contained in:
2021-03-24 17:20:40 +01:00
parent d14252f707
commit 7639383782
3 changed files with 16 additions and 10 deletions

View File

@@ -164,12 +164,11 @@ class GetCommand(AbstractCommand):
return Message(version, status, msg, headers)
def _await_response(self, client, retriever) -> str:
def _await_response(self, client, retriever):
msg = self._get_preamble(retriever)
from client import response_handler
self.filename = response_handler.handle(client, msg, self, self.dir)
return
class PostCommand(AbstractWithBodyCommand):