diff options
-rw-r--r-- | http_server.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/http_server.go b/http_server.go index 948117d..d253dd8 100644 --- a/http_server.go +++ b/http_server.go @@ -85,6 +85,12 @@ func (router *http_router_t) ServeHTTP(w http.ResponseWriter, r *http.Request) { } } + // TODO + if separator_index != 1 { + http.Error(w, "Subgroups haven't been implemented yet", http.StatusNotImplemented) + return + } + switch { case non_empty_last_segments_len == 0: handle_index(w, r, params) |