Ktt-Development/simplehttpserver

IllegalArgumentException on root handler in not root context

Katsute opened this issue · 0 comments

Prerequisites

If all checks are not passed then the request will be closed

  • I have checked that no other similar feature request already exists
  • The feature request makes sense for the project

Proposal

Describe the feature that should be added
Throw an illegal argument exception if the root handler is added to a context that isn't /

Reasoning

Explain why this feature should be added
This handler is only intended and functional for the / context.