We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POST requests made using the aiohttp ClientSession always follow redirect as the allow_redirects attribute cannot be set for this method.
allow_redirects
Other methods (GET/OPTIONS/HEAD) do support enabling/disabling of HTTP redirects.
Allowing redirects to be set on POST request allows one to retrieve header information (such as the redirect specific HTTP code)
The text was updated successfully, but these errors were encountered:
i can not find any code that prevents usage of allow_redirects, just pass allow_redirects
https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/client.py#L404
Sorry, something went wrong.
My bad. Apologies. Misread the code
No branches or pull requests
POST requests made using the aiohttp ClientSession always follow redirect as the
allow_redirects
attribute cannot be set for this method.Other methods (GET/OPTIONS/HEAD) do support enabling/disabling of HTTP redirects.
Allowing redirects to be set on POST request allows one to retrieve header information (such as the redirect specific HTTP code)
The text was updated successfully, but these errors were encountered: