# contenttype コマンドで、MIME Content-Type をすばやくしらべる! {{tag: perl, development}} 一般的な Web Programmer ならば、Content-Type はすべて暗記していると聞きました。 しかし、僕は初心者なので、なかなか覚えきれていないので、Content-Type をさがすのに便利なツールを用意しました。{{cpan: App::contenttype}} です。インストール方法は `cpanm App::contenttype` です。というか依存とかないので をコピーしてくればうごきます。 、、、という2年前のネタをいまさらやってみた(status じゃなくなったけど)。 $ contenttype json application/json .json とりあえず全部みるか。 $ contenttype | more ### See Also * [[http://blog.64p.org/entry/2013/02/21/121830 httpstatus コマンドで、HTTP のステータスコードをすばやくしらべる!]] * [[http://blog.livedoor.jp/xaicron/archives/54398586.html jsonrpcstatus コマンドで、JSON-RPC のステータスコードをすばやくしらべる!]]