You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to create a nested http mux on a wildcard route using http.StripPrefix it will not work. In the earlier example you can see that the response is "body 404 page not found"
What did you expect to see?
I expected to see the mux handle function to go through and get "body Hello" printed
If I modify the earlier example and do a request on /{wildcard}/hello verbatim the request does go through : https://go.dev/play/p/omUCziNc8Bo
The text was updated successfully, but these errors were encountered:
Go version
go1.22.1.linux-amd64
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/R_kkd-iAPI0
What did you see happen?
If you try to create a nested http mux on a wildcard route using http.StripPrefix it will not work. In the earlier example you can see that the response is "body 404 page not found"
What did you expect to see?
I expected to see the mux handle function to go through and get "body Hello" printed
If I modify the earlier example and do a request on /{wildcard}/hello verbatim the request does go through :
https://go.dev/play/p/omUCziNc8Bo
The text was updated successfully, but these errors were encountered: