oli-d/nova

Can't get request stream on HTTP adapter for root endpoint

oli-d opened this issue · 1 comments

oli-d commented

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

oli-d commented

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