Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Refused to set unsafe header "connection" #655

Closed
@chris-herring

Description

@chris-herring

I've noticed this error in Safari (9.1.2) and found in domain-task the following:

    if (!init.headers['Connection']) {
        init.headers['Connection'] = 'keep-alive';
    }

I see Connection listed here as a forbidden header name in the fetch spec.

Can this be wrapped in a !isBrowser condition?

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