Message314701
| Author | agnosticdev |
|---|---|
| Recipients | agnosticdev, oulenz |
| Date | 2018-03-30.17:33:20 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1522431200.9.0.467229070634.issue33181@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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:
http://httpd.apache.org/docs/current/mod/mod_dir.html#DirectoryIndexRedirect |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-03-30 17:33:20 | agnosticdev | set | recipients: + agnosticdev, oulenz |
| 2018-03-30 17:33:20 | agnosticdev | set | messageid: <1522431200.9.0.467229070634.issue33181@psf.upfronthosting.co.za> |
| 2018-03-30 17:33:20 | agnosticdev | link | issue33181 messages |
| 2018-03-30 17:33:20 | agnosticdev | create | |