Skip to content
Snippets Groups Projects
Commit b2b8b3af authored by David Fifield's avatar David Fifield
Browse files

Allow overriding the request headers.

The fetch API itself doesn't let you change certain headers, notably
including Host which we need for domain fronting. So instead, we set an
onBeforeSendHeaders listener, with a lock to cause this shared global
setting to be used by only one request at a time.
parent 52ff3d08
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment