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

Enable cookies for IP hostnames #291

Merged
merged 1 commit into from
Jul 16, 2020
Merged

Conversation

jcrist
Copy link
Member

@jcrist jcrist commented Jul 16, 2020

By default aiohttp doesn't store cookies for urls with an IP address
instead of a DNS name. There's some debate if this is the correct
behavior based on reading of the spec, and for our use case (only ever
contacting a single server endpoint) storing cookies for an IP based url
shouldn't be any less secure. In certain deployments it may be more
common to have dask-gateway running behind an IP address than with an
explicit dns name.

By default aiohttp doesn't store cookies for urls with an IP address
instead of a DNS name. There's some debate if this is the correct
behavior based on reading of the spec, and for our use case (only ever
contacting a single server endpoint) storing cookies for an IP based url
shouldn't be any less secure. In certain deployments it may be more
common to have dask-gateway running behind an IP address than with an
explicit dns name.
@jcrist jcrist merged commit ea6f4bd into master Jul 16, 2020
@jcrist jcrist deleted the store-cookies-for-ip-hostnames branch July 16, 2020 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant