Skip to content

The priority header is hardcoded for requests sent by net.request #46680

@zeeker999

Description

@zeeker999

Preflight Checklist

Electron Version

35.2.0

What operating system(s) are you using?

Windows, macOS

Operating System Version

All

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

The priority header, request priority and priority incremental flag should be customizable.

Actual Behavior

the request priority is net::IDLE and priority incremental flag is on by default.

Testcase Gist URL

No response

Additional Information

The priority header is literally hardcoded to u=4, i for all requests since the request priority is net::IDLE and priority incremental flag is on by default. This should be fully customizable otherwise some firewalls may not like these requests and block them.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions