Re: 301 vs 308 in default redirect class for CommonMiddleware

2018-09-22 Thread Matthieu Bonnefoy
how that they're compatible with all > tracked web browsers so most Django sites could use them. > > On Tue, 18 Sep 2018 at 07:14, Matthieu Bonnefoy > wrote: > >> Hi there, >> >> I am wondering why the default redirect class in the common middleware is >&

301 vs 308 in default redirect class for CommonMiddleware

2018-09-18 Thread Matthieu Bonnefoy
Hi there, I am wondering why the default redirect class in the common middleware is a 301 Moved Permanently response. https://github.com/django/django/blob/master/django/middleware/common.py#L32 https://github.com/django/django/blob/master/django/http/response.py#L476 I just got the issue of a P