38
rated 0 times
[
40]
[
2]
/ answers: 1 / hits: 18104
/ 7 Years ago, fri, april 7, 2017, 12:00:00
I have a reverse proxy server, which redirects you to different services depending on the Host header.
However when making requests to this server using a browser, the Host
is always set to the domain name in the URL. I tried:
fetch(http://foo.com, {headers:{Host:bar.foo.com}})
But it doesn't work
More From » fetch-api