Author agnosticdev
Recipients agnosticdev, oulenz
Date 2018-03-30.17:33:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It looks like the 301 redirect is in place to emulate the behavior that Apache provides when it runs into a trailing slash.  This is observed when this condition is met:

parts = urllib.parse.urlsplit(self.path)
if not parts.path.endswith('/'):

Apache Directory Index Redirect:
Date User Action Args
2018-03-30 17:33:20agnosticdevsetrecipients: + agnosticdev, oulenz
2018-03-30 17:33:20agnosticdevsetmessageid: <>
2018-03-30 17:33:20agnosticdevlinkissue33181 messages
2018-03-30 17:33:20agnosticdevcreate