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

Disable cookie handling by default #144

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

wy65701436
Copy link
Contributor

@wy65701436 wy65701436 commented Apr 24, 2020

Set the cookie jar to nil is to disable save cookies in api contacting.

Signed-off-by: wang yan [email protected]

@dmcgowan
Copy link
Member

Maybe this should be the default and if there is a registry in the future which requires cookies to work, then enable it specifically. Any sort of user/session tracking is not mentioned by the spec, so disabling it by default makes sense to me.

Set the cookie jar to nil is to disable save cookies in api contacting.

Signed-off-by: wang yan <[email protected]>
@wy65701436 wy65701436 changed the title Add optional parameter to disable cookie Disable cookie handling by default Apr 24, 2020
@wy65701436
Copy link
Contributor Author

wy65701436 commented Apr 24, 2020

make sense, code is updated per comments, thanks.

@vbatts
Copy link
Member

vbatts commented Apr 28, 2020

LGTM

Approved with PullApprove

Copy link
Member

@dmcgowan dmcgowan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmcgowan dmcgowan merged commit 086e4ec into opencontainers:master Apr 28, 2020
@vbatts vbatts mentioned this pull request Sep 30, 2020
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.

3 participants