diff options
author | jonathonf <j.fernyhough@gmail.com> | 2015-08-01 20:53:37 +0100 |
---|---|---|
committer | jonathonf <j.fernyhough@gmail.com> | 2015-08-01 20:53:37 +0100 |
commit | 9dde0ae3ac6c97704f64e0dee0d55c1a49faaf4b (patch) | |
tree | 27dd23c41c56a60a5931f7f63ee5e41dd6db9490 /lib/pure/parseurl.nim | |
parent | 92ca736f0ac2e3b8c66516fb22ce8c5fbdac69d5 (diff) | |
download | Nim-9dde0ae3ac6c97704f64e0dee0d55c1a49faaf4b.tar.gz |
Set correct Host in request header
Ensure the correct destination hostname is used in the request, otherwise the request will fail in one of a number of interesting ways when using a proxy. Fixes https://github.com/nim-lang/Nim/issues/3166
Diffstat (limited to 'lib/pure/parseurl.nim')
0 files changed, 0 insertions, 0 deletions