README: update sponsors

This commit is contained in:
Gerasimos (Makis) Maropoulos 2022-06-21 00:25:43 +03:00
parent d1a1dacaff
commit 0d3024b486
No known key found for this signature in database
GPG Key ID: 3595CBE7F3B4082E
3 changed files with 35 additions and 11 deletions

View File

@ -228,13 +228,14 @@ With your help, we can improve Open Source web development for everyone!
<a href="https://github.com/celsosz"><img src="https://avatars1.githubusercontent.com/u/3466493?v=4" alt="celsosz" title="celsosz" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/TechMaster"><img src="https://avatars1.githubusercontent.com/u/1491686?v=4" alt="TechMaster" title="TechMaster" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/altafino"><img src="https://avatars1.githubusercontent.com/u/24539467?v=4" alt="altafino" title="altafino" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/gf3"><img src="https://avatars1.githubusercontent.com/u/18397?v=4" alt="gf3" title="gf3" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/alekperos"><img src="https://avatars1.githubusercontent.com/u/683938?v=4" alt="alekperos" title="alekperos" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/hengestone"><img src="https://avatars1.githubusercontent.com/u/362587?v=4" alt="hengestone" title="hengestone" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/thomasfr"><img src="https://avatars1.githubusercontent.com/u/287432?v=4" alt="thomasfr" title="thomasfr" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/International"><img src="https://avatars1.githubusercontent.com/u/1022918?v=4" alt="International" title="International" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/Juanses"><img src="https://avatars1.githubusercontent.com/u/6137970?v=4" alt="Juanses" title="Juanses" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/ansrivas"><img src="https://avatars1.githubusercontent.com/u/1695056?v=4" alt="ansrivas" title="ansrivas" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/draFWM"><img src="https://avatars1.githubusercontent.com/u/5765340?v=4" alt="draFWM" title="draFWM" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/gf3"><img src="https://avatars1.githubusercontent.com/u/18397?v=4" alt="gf3" title="gf3" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/lexrus"><img src="https://avatars1.githubusercontent.com/u/219689?v=4" alt="lexrus" title="lexrus" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/li3p"><img src="https://avatars1.githubusercontent.com/u/55519?v=4" alt="li3p" title="li3p" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/se77en"><img src="https://avatars1.githubusercontent.com/u/1468284?v=4" alt="se77en" title="se77en" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
@ -246,6 +247,7 @@ With your help, we can improve Open Source web development for everyone!
<a href="https://github.com/clacroix"><img src="https://avatars1.githubusercontent.com/u/611064?v=4" alt="clacroix" title="clacroix" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/ixalender"><img src="https://avatars1.githubusercontent.com/u/877376?v=4" alt="ixalender" title="ixalender" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/mubariz-ahmed"><img src="https://avatars1.githubusercontent.com/u/18215455?v=4" alt="mubariz-ahmed" title="mubariz-ahmed" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/stgrosshh"><img src="https://avatars1.githubusercontent.com/u/8356082?v=4" alt="stgrosshh" title="stgrosshh" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/rodrigoghm"><img src="https://avatars1.githubusercontent.com/u/66917643?v=4" alt="rodrigoghm" title="rodrigoghm" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/Cesar"><img src="https://avatars1.githubusercontent.com/u/1581870?v=4" alt="Cesar" title="Cesar" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/DavidShaw"><img src="https://avatars1.githubusercontent.com/u/356970?v=4" alt="DavidShaw" title="DavidShaw" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
@ -291,6 +293,7 @@ With your help, we can improve Open Source web development for everyone!
<a href="https://github.com/mark2b"><img src="https://avatars1.githubusercontent.com/u/539063?v=4" alt="mark2b" title="mark2b" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/siriushaha"><img src="https://avatars1.githubusercontent.com/u/7924311?v=4" alt="siriushaha" title="siriushaha" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/spazzymoto"><img src="https://avatars1.githubusercontent.com/u/2951012?v=4" alt="spazzymoto" title="spazzymoto" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/ehayun"><img src="https://avatars1.githubusercontent.com/u/39870648?v=4" alt="ehayun" title="ehayun" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/kukaki"><img src="https://avatars1.githubusercontent.com/u/4849535?v=4" alt="kukaki" title="kukaki" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/oshirokazuhide"><img src="https://avatars1.githubusercontent.com/u/89958891?v=4" alt="oshirokazuhide" title="oshirokazuhide" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/t6tg"><img src="https://avatars1.githubusercontent.com/u/33445861?v=4" alt="t6tg" title="t6tg" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
@ -298,6 +301,7 @@ With your help, we can improve Open Source web development for everyone!
<a href="https://github.com/BlackHole1"><img src="https://avatars1.githubusercontent.com/u/8198408?v=4" alt="BlackHole1" title="BlackHole1" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/Jude-X"><img src="https://avatars1.githubusercontent.com/u/66228813?v=4" alt="Jude-X" title="Jude-X" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/KevinZhouRafael"><img src="https://avatars1.githubusercontent.com/u/16298046?v=4" alt="KevinZhouRafael" title="KevinZhouRafael" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/KrishManohar"><img src="https://avatars1.githubusercontent.com/u/1992857?v=4" alt="KrishManohar" title="KrishManohar" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/Laotanling"><img src="https://avatars1.githubusercontent.com/u/28570289?v=4" alt="Laotanling" title="Laotanling" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/MihaiPopescu1985"><img src="https://avatars1.githubusercontent.com/u/34679869?v=4" alt="MihaiPopescu1985" title="MihaiPopescu1985" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/Neulhan"><img src="https://avatars1.githubusercontent.com/u/52434903?v=4" alt="Neulhan" title="Neulhan" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
@ -305,31 +309,40 @@ With your help, we can improve Open Source web development for everyone!
<a href="https://github.com/SamuelNeves"><img src="https://avatars1.githubusercontent.com/u/10797137?v=4" alt="SamuelNeves" title="SamuelNeves" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/TianJIANG"><img src="https://avatars1.githubusercontent.com/u/158459?v=4" alt="TianJIANG" title="TianJIANG" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/Ubun1"><img src="https://avatars1.githubusercontent.com/u/13261595?v=4" alt="Ubun1" title="Ubun1" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/YukinaMochizuki"><img src="https://avatars1.githubusercontent.com/u/26710554?v=4" alt="YukinaMochizuki" title="YukinaMochizuki" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/acdias"><img src="https://avatars1.githubusercontent.com/u/11966653?v=4" alt="acdias" title="acdias" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/agent3bood"><img src="https://avatars1.githubusercontent.com/u/771902?v=4" alt="agent3bood" title="agent3bood" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/annieruci"><img src="https://avatars1.githubusercontent.com/u/49377699?v=4" alt="annieruci" title="annieruci" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/b2cbd"><img src="https://avatars1.githubusercontent.com/u/6870050?v=4" alt="b2cbd" title="b2cbd" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/baoch254"><img src="https://avatars1.githubusercontent.com/u/74555344?v=4" alt="baoch254" title="baoch254" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/bastengao"><img src="https://avatars1.githubusercontent.com/u/785335?v=4" alt="bastengao" title="bastengao" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/bjoroen"><img src="https://avatars1.githubusercontent.com/u/31513139?v=4" alt="bjoroen" title="bjoroen" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/bunnycodego"><img src="https://avatars1.githubusercontent.com/u/81451316?v=4" alt="bunnycodego" title="bunnycodego" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/carlos-enginner"><img src="https://avatars1.githubusercontent.com/u/59775876?v=4" alt="carlos-enginner" title="carlos-enginner" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/civicwar"><img src="https://avatars1.githubusercontent.com/u/1858104?v=4" alt="civicwar" title="civicwar" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/cnzhangquan"><img src="https://avatars1.githubusercontent.com/u/5462876?v=4" alt="cnzhangquan" title="cnzhangquan" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/edwindna2"><img src="https://avatars1.githubusercontent.com/u/5441354?v=4" alt="edwindna2" title="edwindna2" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/fenriz07"><img src="https://avatars1.githubusercontent.com/u/9199380?v=4" alt="fenriz07" title="fenriz07" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/ffelipelimao"><img src="https://avatars1.githubusercontent.com/u/28612817?v=4" alt="ffelipelimao" title="ffelipelimao" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/gnosthi"><img src="https://avatars1.githubusercontent.com/u/17650528?v=4" alt="gnosthi" title="gnosthi" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/goten002"><img src="https://avatars1.githubusercontent.com/u/5025060?v=4" alt="goten002" title="goten002" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/guanzi008"><img src="https://avatars1.githubusercontent.com/u/20619190?v=4" alt="guanzi008" title="guanzi008" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/hdezoscar93"><img src="https://avatars1.githubusercontent.com/u/21270107?v=4" alt="hdezoscar93" title="hdezoscar93" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/homerious"><img src="https://avatars1.githubusercontent.com/u/22523525?v=4" alt="homerious" title="homerious" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/hzxd"><img src="https://avatars1.githubusercontent.com/u/3376231?v=4" alt="hzxd" title="hzxd" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/iantuan"><img src="https://avatars1.githubusercontent.com/u/4869968?v=4" alt="iantuan" title="iantuan" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/jeremiahyan"><img src="https://avatars1.githubusercontent.com/u/2705359?v=4" alt="jeremiahyan" title="jeremiahyan" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/kana99"><img src="https://avatars1.githubusercontent.com/u/3714069?v=4" alt="kana99" title="kana99" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/keeio"><img src="https://avatars1.githubusercontent.com/u/147525?v=4" alt="keeio" title="keeio" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/khasanovrs"><img src="https://avatars1.githubusercontent.com/u/6076966?v=4" alt="khasanovrs" title="khasanovrs" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/kkdaypenny"><img src="https://avatars1.githubusercontent.com/u/47559431?v=4" alt="kkdaypenny" title="kkdaypenny" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/knavels"><img src="https://avatars1.githubusercontent.com/u/57287952?v=4" alt="knavels" title="knavels" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/leki75"><img src="https://avatars1.githubusercontent.com/u/9675379?v=4" alt="leki75" title="leki75" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/liheyuan"><img src="https://avatars1.githubusercontent.com/u/776423?v=4" alt="liheyuan" title="liheyuan" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/lingyingtan"><img src="https://avatars1.githubusercontent.com/u/15610136?v=4" alt="lingyingtan" title="lingyingtan" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/lipatti"><img src="https://avatars1.githubusercontent.com/u/38935867?v=4" alt="lipatti" title="lipatti" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/mattbowen"><img src="https://avatars1.githubusercontent.com/u/46803?v=4" alt="mattbowen" title="mattbowen" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/miguel-devs"><img src="https://avatars1.githubusercontent.com/u/89543510?v=4" alt="miguel-devs" title="miguel-devs" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/mizzlespot"><img src="https://avatars1.githubusercontent.com/u/2654538?v=4" alt="mizzlespot" title="mizzlespot" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/mnievesco"><img src="https://avatars1.githubusercontent.com/u/78430169?v=4" alt="mnievesco" title="mnievesco" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/motogo"><img src="https://avatars1.githubusercontent.com/u/1704958?v=4" alt="motogo" title="motogo" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
@ -347,6 +360,7 @@ With your help, we can improve Open Source web development for everyone!
<a href="https://github.com/rxrw"><img src="https://avatars1.githubusercontent.com/u/9566402?v=4" alt="rxrw" title="rxrw" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/saleebm"><img src="https://avatars1.githubusercontent.com/u/34875122?v=4" alt="saleebm" title="saleebm" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/sbenimeli"><img src="https://avatars1.githubusercontent.com/u/46652122?v=4" alt="sbenimeli" title="sbenimeli" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/sebyno"><img src="https://avatars1.githubusercontent.com/u/15988169?v=4" alt="sebyno" title="sebyno" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/svirmi"><img src="https://avatars1.githubusercontent.com/u/52601346?v=4" alt="svirmi" title="svirmi" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/unixedia"><img src="https://avatars1.githubusercontent.com/u/70646128?v=4" alt="unixedia" title="unixedia" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/vguhesan"><img src="https://avatars1.githubusercontent.com/u/193960?v=4" alt="vguhesan" title="vguhesan" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
@ -356,6 +370,7 @@ With your help, we can improve Open Source web development for everyone!
<a href="https://github.com/SergeShin"><img src="https://avatars1.githubusercontent.com/u/402395?v=4" alt="SergeShin" title="SergeShin" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/blackHoleNgc1277"><img src="https://avatars1.githubusercontent.com/u/41342763?v=4" alt="blackHoleNgc1277" title="blackHoleNgc1277" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/martinlindhe"><img src="https://avatars1.githubusercontent.com/u/181531?v=4" alt="martinlindhe" title="martinlindhe" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/mdamschen"><img src="https://avatars1.githubusercontent.com/u/40914728?v=4" alt="mdamschen" title="mdamschen" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/mtrense"><img src="https://avatars1.githubusercontent.com/u/1008285?v=4" alt="mtrense" title="mtrense" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/netbaalzovf"><img src="https://avatars1.githubusercontent.com/u/98529711?v=4" alt="netbaalzovf" title="netbaalzovf" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>
<a href="https://github.com/lfaynman"><img src="https://avatars1.githubusercontent.com/u/16815068?v=4" alt="lfaynman" title="lfaynman" with="75" style="width:75px;max-width:75px;height:75px" height="75" /></a>

View File

@ -48,7 +48,7 @@ func (r *RequestParams) Set(key, value string) {
// Get returns a path parameter's value based on its route's dynamic path key.
func (r *RequestParams) Get(key string) string {
for i := 0; i < len(r.Store); i++ {
for i := range r.Store {
if kv := r.Store[i]; kv.Key == key {
if v, ok := kv.ValueRaw.(string); ok {
return v // it should always be string here on :string parameter.

View File

@ -42,7 +42,13 @@ type (
)
type routerHandler struct {
config context.ConfigurationReadOnly
// Config.
disablePathCorrection bool
disablePathCorrectionRedirection bool
fireMethodNotAllowed bool
enablePathIntelligence bool
forceLowercaseRouting bool
//
logger *golog.Logger
trees []*trie
@ -60,8 +66,12 @@ var _ HTTPErrorHandler = (*routerHandler)(nil)
// to map the request with a route (aka mux implementation).
func NewDefaultHandler(config context.ConfigurationReadOnly, logger *golog.Logger) RequestHandler {
return &routerHandler{
config: config,
logger: logger,
disablePathCorrection: config.GetDisablePathCorrection(),
disablePathCorrectionRedirection: config.GetDisablePathCorrectionRedirection(),
fireMethodNotAllowed: config.GetFireMethodNotAllowed(),
enablePathIntelligence: config.GetEnablePathIntelligence(),
forceLowercaseRouting: config.GetForceLowercaseRouting(),
logger: logger,
}
}
@ -200,7 +210,7 @@ func (h *routerHandler) Build(provider RoutesProvider) error {
noLogCount++
}
if h.config != nil && h.config.GetForceLowercaseRouting() {
if h.forceLowercaseRouting {
// only in that state, keep everything else as end-developer registered.
r.Path = strings.ToLower(r.Path)
}
@ -393,9 +403,8 @@ func canHandleSubdomain(ctx *context.Context, subdomain string) bool {
func (h *routerHandler) HandleRequest(ctx *context.Context) {
method := ctx.Method()
path := ctx.Path()
config := h.config // ctx.Application().GetConfigurationReadOnly()
if !config.GetDisablePathCorrection() {
if !h.disablePathCorrection {
if len(path) > 1 && strings.HasSuffix(path, "/") {
// Remove trailing slash and client-permanent rule for redirection,
// if confgiuration allows that and path has an extra slash.
@ -405,7 +414,7 @@ func (h *routerHandler) HandleRequest(ctx *context.Context) {
// use Trim to ensure there is no open redirect due to two leading slashes
path = "/" + strings.Trim(path, "/")
u.Path = path
if !config.GetDisablePathCorrectionRedirection() {
if !h.disablePathCorrectionRedirection {
// do redirect, else continue with the modified path without the last "/".
url := u.String()
@ -445,7 +454,7 @@ func (h *routerHandler) HandleRequest(ctx *context.Context) {
break
}
if config.GetFireMethodNotAllowed() {
if h.fireMethodNotAllowed {
for i := range h.trees {
t := h.trees[i]
// if `Configuration#FireMethodNotAllowed` is kept as defaulted(false) then this function will not
@ -460,7 +469,7 @@ func (h *routerHandler) HandleRequest(ctx *context.Context) {
}
}
if config.GetEnablePathIntelligence() && method == http.MethodGet {
if h.enablePathIntelligence && method == http.MethodGet {
closestPaths := ctx.FindClosest(1)
if len(closestPaths) > 0 {
u := ctx.Request().URL