Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Redirect to remove trailing slash (fixes Kinto/kinto#112) #447

Merged
merged 2 commits into from
Sep 10, 2015

Conversation

Natim
Copy link
Contributor

@Natim Natim commented Sep 10, 2015

Initialy authored by @leplatrem on Kinto.

@@ -41,6 +41,34 @@ def setup_json_serializer(config):
config.add_renderer('json', renderer)


def setup_trailing_slash_redirection(config):
"""URLs of Webservices built with Django usually have a trailing slash.
Kinto does not, and removes it with a redirection.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cliquet does not

@leplatrem
Copy link
Contributor

r+

leplatrem added a commit that referenced this pull request Sep 10, 2015
@leplatrem leplatrem merged commit 48ee0f9 into master Sep 10, 2015
@leplatrem leplatrem deleted the 112-remove-trailing-slashes branch September 10, 2015 15:17
@leplatrem leplatrem modified the milestone: 2.7 Sep 23, 2015
glasserc pushed a commit that referenced this pull request May 20, 2016
glasserc pushed a commit that referenced this pull request May 20, 2016
Add uwsgi bind error to troubleshooting (fixes #447)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants