Closed keroami closed 9 months ago
I can pull those values out of the host
header field and put them into the constructed request.
For now, you can grab them from the headers as request.get_header(req, "host")
.
This should be resolved on master. If you wanna try it out with a path dependency and let me know if it works well for you, I can push out a minor version soon.
Otherwise I can just publish it tomorrow anyway.
Thanks!
tried with path dep. works fine! Thx!
Header
host: 127.0.0.1:8888
request host will belocalhost
(default value?) instead of127.0.0.1
, portNone
instead ofSome(8888)
.This makes it impossible to let mist serve multiple hosts / DNS names, as it is impossible to pattern match on the host, like it is for
path_segments
.mist 0.17.0