Skip to content

Network intercepts and the Host header #983

@hbenl

Description

@hbenl

The BiDi implementations in Chrome and Firefox disagree on how to handle the Host header in network intercepts that override headers:

  • Chrome removes the Host header from the network.beforeRequestSent event and expects no Host header in the network.continueRequest command, otherwise the request will fail.
  • Firefox includes the Host header in the network.beforeRequestSent event and expects it to be present in the network.continueRequest command, otherwise the request will fail.

The spec should specify whether the Host header is required, optional or forbidden in network events and commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions