Can't get request stream on HTTP adapter for root endpoint
oli-d opened this issue · comments
Registering for incoming HTTP requests on the root path, does not seem to work
timeTeller.http().requests("/").subscribe(rpc -> {
rpc.complete("Welcome!");
});
Trying to send a request to that endpoint results in a 404
Problem appeared because the HttpServer instance was manually created using the following code:
HttpServer.createSimpleServer("/", 7777);
Using Nova config or Novas Factory (HttpServerFactory.serverFor(httpServerConfiguration)
) works properly