Plackをコードリーディングしたのだけれど、適当にメモしたのを公開しておく。 Plack/PSGI PSGI仕様 : http://search.cpan.org/dist/PSGI/PSGI.pod antitpopさんの勉強資料 : http://d.hatena.ne.jp/antipop/20090924/1253761509 PSGI env HTTP_*はHTTPヘッダ REQUEST_METHOD psgi.* psgi.url_scheme, psgi.errors response [status, [headers], [content]] Plack::Request env受け取る それっぽいやつを返す cookieのparse _parse_request_body inputからbodyを読み込んで行く処理 Plack::Response responseを作