Skip to content
New issue

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

Add support for setting cookies for individual request #2387

Closed
p0lm opened this issue Oct 24, 2017 · 3 comments
Closed

Add support for setting cookies for individual request #2387

p0lm opened this issue Oct 24, 2017 · 3 comments
Labels

Comments

@p0lm
Copy link

p0lm commented Oct 24, 2017

Long story short

A cookies kwarg that can be set with individual request providing cookies just for a single time.

Expected behaviour

Aiohttp provides an interface that mimics requests, but lacks support for sending a dict of cookies with a single request. It's be nice to have an optional keyword argument cookies on sending a request, providing a way to pass in a dict of cookies that are added on top of the cookies stored in the cookiejar.

@asvetlov
Copy link
Member

Well, it would be good feature.
Would you provide a Pull Request?

@p0lm
Copy link
Author

p0lm commented Oct 24, 2017

I'll try to take a swing at it later this week. It seems not too hard to implement.

@blueyed
Copy link
Contributor

blueyed commented May 2, 2019

This can be closed, #3396 was merged.

@lock lock bot added the outdated label May 5, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants