paypal/squbs

Webcontext can start with `/`

开放

#340 创建于 2016年12月2日

 (2 条评论) (1 个反应) (0 位负责人)Scala (248 个派生)batch import
help wanted

仓库指标

星标
 (1,384 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南