302 リダイレクト
以下のように単純にリダイレクトする一行のスクリプトで
<?php header('Location: http://hogehoge/'); ?>
以下のようにContent-Typeが出たり、'0'とCR+LF+CR+LFで5バイトのコンテンツが付いたりしている。なんでだろう。
HTTP/1.1 302 Found↓ Date: Fri, 11 Feb 2005 07:31:28 GMT↓ Server: Apache↓ Location: http://hogehoge/↓ Connection: close↓ Transfer-Encoding: chunked↓ Content-Type: text/html; charset=Shift_JIS↓ ↓ 0↓ ↓
Content-Typeはdefault_mimetypeが出ているにしても、本文の0は何なんだろうか。