Join Slack
is it expected that the host(request.uri.host) is “” when running in localhost?
# http4k
c
Cosmin Victor Celea
10/19/2020, 12:19 PM
is it expected that the host(request.uri.host) is “” when running in localhost?
r
Razvan
10/19/2020, 12:42 PM
don't know about that, but if you need to get the hostname, in the Headers you'll find the
Host
header that has the hostname and the port
👍 1
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by