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

samesite argument in `Response.set_cookie` and `cookies.make_cookie` should accept native strings #361

Closed
mmerickel opened this Issue May 25, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@mmerickel
Copy link
Member

mmerickel commented May 25, 2018

Currently it's the only text-based argument that requires bytes, the others are coerced. This argument should also accept native strings which are coerced to bytes under the hood.

Related: Pylons/pyramid#3298

bertjwregeer added a commit that referenced this issue Jun 6, 2018

bertjwregeer added a commit that referenced this issue Jun 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment