Skip to content

Support Cookie SameSite attribute and maybe allow specifying custom cookie attributes #1354

@jrudolph

Description

@jrudolph

It's currently impossible to model a Set-Cookie header with attributes unknown to akka-http like this:

Set-Cookie: key=value; HttpOnly; SameSite=strict

We should allow specifying custom attributes and/or add popular ones missing from the current model.

The current workaround is to use a RawHeader in such a case.

Prompted by https://groups.google.com/d/topic/akka-user/XbAoF_EQAHI/discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3 - in progressSomeone is working on this tickett:coreIssues related to the akka-http-core modulet:modelIssues around the model classes and its functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions