paypal/squbs

Webcontext can start with `/`

Open

#340 aperta il 2 dic 2016

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)Scala (248 fork)batch import
help wanted

Metriche repository

Star
 (1384 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor