redundant setting of host
This is already done in bare-client
This commit is contained in:
parent
ec5a798764
commit
e891c6a831
1 changed files with 0 additions and 1 deletions
|
|
@ -110,7 +110,6 @@ class UVServiceWorker extends Ultraviolet.EventEmitter {
|
|||
requestCtx.headers['user-agent'] = navigator.userAgent;
|
||||
|
||||
if (cookieStr) requestCtx.headers.cookie = cookieStr;
|
||||
requestCtx.headers.Host = requestCtx.url.host;
|
||||
|
||||
const reqEvent = new HookEvent(requestCtx, null, null);
|
||||
this.emit('request', reqEvent);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue