Open mithrandi opened 8 years ago
This is kind of unsolvable in the general case; StringEndpoint
may well result in something that there's no way to generate a proper HTTP URL for.
Instead of inferring from a TCPPort
object, perhaps we should have an explicit NetLoc
object?
See #67.
SiteConfiguration
specifically looks forTCPPort
to find an unsecured port, andSSLPort
to find a secured port. If you only haveStringEndpointPort
s in your site, it'll never be able to generate absolute URIs.