Skip to content

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

@mmerickel

Description

@mmerickel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions