Skip to content

Backend response headers set issue #992

Open
@guybedford

Description

@guybedford

We had a report that this was causing duplication when using beresp.headers.set().

We should ensure we either properly guard or fix this case.

Activity

guybedford

guybedford commented on Oct 1, 2024

@guybedford
ContributorAuthor

Per the spec, this should be immutable, which should throw a TypeError on Headers.prototype.set.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @guybedford

      Issue actions

        Backend response headers set issue · Issue #992 · fastly/js-compute-runtime