4 ms·
I've used Django for a long time. Django defaults to adding trailing slashes to make relative URLs easier to implement correctly. I've always found that sensibl
by thraxil 5y ago
I've used Django for a long time. Django defaults to adding trailing slashes to make relative URLs easier to implement correctly. I've always found that sensible and useful. I've recently been putting some APIs behind GCP's API Gateway and discovered that their OpenAPI implementation strips trailing slashes: https://cloud.google.com/endpoints/docs/openapi/openapi-limitations#url_path_templating https://cloud.google.com/endpoints/docs/openapi/openapi-limi...
So... I guess no more trailing slashes for me.