Skip to content

Multiple header entries with same key but different value #776

@k4i6

Description

@k4i6

YOUR FEATURE DESCRIPTION HERE
Additional headers can be set via com.varabyte.kobweb.api.http.Response::headers (mutable hashmap).
However, it is not possible to set multiple header entries with the same key but different values (e.g. multiple "Set-Cookie" headers).
Support for this UseCase should be added.

Suggestion:

  • update the header datastructure to Map<String, List<String>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions