Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Web サーバーから HTTP_ ヘッダーにアクセスするときに、HTTP ヘッダーにプレフィックス HTTP_ を付けるのは、ほぼ普遍的な規則であることに気付きました。これがどのように起こったかについて、誰かが私に状況を説明できますか?
CGIスクリプトについて話しているようです。HTTP ヘッダーは環境変数として渡されます。HTTP とは関係のない他の環境変数 (例: PATH) が存在する可能性があるため、衝突の可能性を減らすために共通のプレフィックスを付けることは理にかなっています。