getcomposer.org icon indicating copy to clipboard operation
getcomposer.org copied to clipboard

Non-optimal status code for redirect to https

Open jrfnl opened this issue 1 year ago • 0 comments

Context: noticed this via a dead link/URL redirect checker.

When requesting http://getcomposer.org/ it redirects to https://getcomposer.org/ with status code 302 (= temporary redirect).

To verify, run curl -v http://getcomposer.org/

I believe it would be more optimal to redirect with a 301 (= permanent redirect) status code.

Not sure where to change this, so just opening this issue to draw attention to this.

jrfnl avatar Oct 21 '24 06:10 jrfnl