shirok / Gauche-makiki

A simple multithreaded http server
BSD 3-Clause "New" or "Revised" License
34 stars 2 forks source link

path component match and trailnig slash #6

Closed shirok closed 1 year ago

shirok commented 1 year ago

When the request path ends with a slash, we shouldn't interpret it as an empty string compnent at the end; rather we should match as if the trailing slash isn't given.