-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove example trailing slash middleware since it is not compatible
The example middleware to remove the trailing slash from routes in the Slim V4 documentation is not PSR-15 compatible, and thus does not work in Slim 4. Thankfully, the linked middleweare is, so update the docs to point solely to that middleware. Additionally, clarify that rewriting a request of a non-GET operation only affects the in-memory copy of the Request object, and not the actual user called by the consumer.
- Loading branch information
1 parent
8844e7a
commit 55afb81
Showing
1 changed file
with
5 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters