paypal/squbs

Webcontext can start with `/`

オープン

#340 opened on 2016/12/02

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)Scala (248 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (1,384 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド