-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Now that HTTP2 is in core, it should be supported by node-http-proxy.
My initial efforts to try to make this work result in the following errror:
_http_outgoing.js:490
throw new TypeError(`Header name must be a valid HTTP Token ["${name}"]`);
^
TypeError: Header name must be a valid HTTP Token [":path"]
I think this is because in http-proxy/lib/http-proxy/common.js, setupOutgoing() is basically copying headers from the incoming request to the outgoing request, and HTTP2 headers start with colons, but HTTP1 headers cannot.
mintuhouse, nadeemkhedr, elwynelwyn, rcollette, zanonnicola and 21 more
Metadata
Metadata
Assignees
Labels
No labels