paypal/squbs

Webcontext can start with `/`

Open

#340 建立於 2016年12月2日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)Scala (1,384 star) (248 fork)batch import
help wanted

描述

The doc currently reads:

The web-context is a string that uniquely identifies the web context of a request to be dispatched to this service. It MUST NOT start with a / character. It can have / characters inside as segment separators in case of multi-segment contexts. And it is allowed to be "" for root context. If multiple services match the request, the longest context match takes precedence.

We should actually allow it to start with a /. Otherwise, it might get annoying while troubleshooting in development.

貢獻者指南