fix(asyncFetcher): A typo made async version of put do post request instead

Awkward moment
This commit is contained in:
Karim shoair
2025-01-30 19:53:13 +02:00
parent 7882cf2527
commit c0d912d16a
+1 -1
View File
@@ -143,7 +143,7 @@ class AsyncFetcher(Fetcher):
:return: A `Response` object that is the same as `Adaptor` object except it has these added attributes: `status`, `reason`, `cookies`, `headers`, and `request_headers`
"""
adaptor_arguments = tuple(self.adaptor_arguments.items())
response_object = await StaticEngine(url, proxy, stealthy_headers, follow_redirects, timeout, retries=retries, adaptor_arguments=adaptor_arguments).async_post(**kwargs)
response_object = await StaticEngine(url, proxy, stealthy_headers, follow_redirects, timeout, retries=retries, adaptor_arguments=adaptor_arguments).async_put(**kwargs)
return response_object
async def delete(