Closed kevinresol closed 3 years ago
Uhm, I'm slightly confused. Is it not added here or are you referring to something else?
oops, because I did this:
var endpoint:RemoteEndpoint = {
host: new Host(config.host, config.port),
scheme: config.scheme,
path: config.path
.split('/')
.filter(v -> v != '')
.map(Portion.new)
,
}
Totally missed the implicit cast. Should work fine now ;)
So:
{scheme: 'http:'}
works but{scheme: 'http'}
doesn't.I guess we should detect that and auto add it.