Doc toolchain forwarding

This is really weird, and at first I thought it was a mobile/desktop difference, but that seems to have been a coincidence after I just tested it.

https://doc.rust-lang.org/std redirects[1] to https://doc.rust-lang.org/stable/std/. However, https://doc.rust-lang.org/std/ (note the trailing /) does not issue a redirect and serves the content directly.

Does anyone happen to know whether this is intentional, and if so, why, or if not, where the bug report should go? It feels like a weird inconsistency from my end.

(I thought to also ask in #t-infra after posting here.)


  1. A quick network log indicates a 302 redirect from /std to /doc/stable/std/, which gives a 301 redirect to /stable/std/. ↩ī¸Ž

4 Likes