fix(asyncFetcher): A typo made async version of put do post request instead
Awkward moment
This commit is contained in:
@@ -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`
|
: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())
|
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
|
return response_object
|
||||||
|
|
||||||
async def delete(
|
async def delete(
|
||||||
|
|||||||
Reference in New Issue
Block a user