Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Extended @removeslash also to CRUD #70

  • Loading branch information...
commit 90e422c3d822bf52f44afaf70ed6ff6b332353cc 1 parent 05ee402
@dhilipsiva dhilipsiva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cyclone/
2  cyclone/
@@ -1087,7 +1087,7 @@ def removeslash(method):
def wrapper(self, *args, **kwargs):
if self.request.path.endswith("/"):
- if self.request.method in ("GET", "HEAD"):
+ if self.request.method in ("GET", "HEAD", "POST", "PUT", "DELETE"):
uri = self.request.path.rstrip("/")
if uri: # don't try to redirect '/' to ''
if self.request.query:
Please sign in to comment.
Something went wrong with that request. Please try again.