Redirect
リダイレクト
リダイレクトは、あるアドレスから別のアドレスへ飛ばします。そのステータスを見れば、一時的なのか、ずっと変わらないのかが分かります。
もう一つの例
ガイドが移動した後、その古いアドレスは正確な置き換え先に恒久的にリダイレクトされます。ブックマークや検索シグナルは引き続き有用です。
主な部分
- 01Originating request
- 02Resolution or processing hop
- 03Response, timing, and failure
以下の場合に使用します
移動したリソース、メインホスト、プロトコルのアップグレード、またはサインイン後の安全な戻りにはリダイレクトを使用してください。
以下の場合は使用しないでください
チェーン、ループ、ホームページのフォールバック、未検証の外部リターンURLを避けてください。
コードで使用する名前
Location + 301 / 302 / 307 / 308 出荷前に
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome:Complete the task with リダイレクト (Redirect)。 User context:ガイドが移動した後、その古いアドレスは正確な置き換え先に恒久的にリダイレクトされます。ブックマークや検索シグナルは引き続き有用です。 Technical concept or control:リダイレクト (Redirect)。 Why it fits:移動したリソース、メインホスト、プロトコルのアップグレード、またはサインイン後の安全な戻りにはリダイレクトを使用してください。 Do not use it when:チェーン、ループ、ホームページのフォールバック、未検証の外部リターンURLを避けてください。 Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):この標準は、列挙された範囲のみを対象とします。視覚スタイル、製品の判断、またはVibularyの例は選びません。 Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
このリクエストを確認する
Review how リダイレクト (Redirect) is used now. Definition: リダイレクトは、あるアドレスから別のアドレスへ飛ばします。そのステータスを見れば、一時的なのか、ずっと変わらないのかが分かります。 Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.