Tatsuhiko Miyagawa's Blog

Recent Posts

October 01, 2009

REQUEST_URI will be in: Mojo support

I’ve got a comment about “What about Mojo?” on my yesterday’s blog post, and I answered Mojo is something different that implements everything from the ground up, but it was actually easy to write a Mojo adapter for PSGI by mimicking their CGI adapter. So here you go: Mojo::Server::PSGI.

September 27, 2009

PATH_INFO decoding horrors

If your application (script) is located in /foo, and when a request is made on /foo/bar%2fbaz (where %2f means an URI encoded forward slash “/”), what would the PATH_INFO value be? /bar%2fbaz (undecoded) or /bar/baz (decoded)?

September 23, 2009

PSGI: start_response or not?

For the impatient: can you make echo.psgi streaming server (run it as plackup -i AnyEvent -a eg/dot-psgi/echo.psgi port 9090) work without $start_response?

September 22, 2009

Plack updates of "Silver Week"

It’s been a new autumn break, so called Silver Week in Japan and the hacking has been a little calmed down. We’re getting close to ship PSGI draft and Plack core distribution to CPAN, but here are few things to clear up and other things to mention:

September 18, 2009

Plack middleware

Middleware is some great (but sometimes abused) features in Python’s WSGI and Ruby’s Rack. HTTP::Engine also had this middleware concept and had some great “plugins”. So it’s time to write the new middleware framework for PSGI and Plack.

September 17, 2009

Plack gets more Danga::Socket

Daisuke Murase made Plack::Impl::Danga::Socket, the standalone web server that runs PSGI application. I made Perlbal::Plugin::PSGI that is a Perlbal plugin so you can combine with other Perlbal plugins. 

September 15, 2009

SF - Tokyo

via www.flickr.com

September 12, 2009

On module writers and users

Yusukebe wrote an excellent post regarding Module writers and users in conferences like YAPC. He said he could not find many talks from developers who uses CPAN modules and software, rather than who writes stuff. The post is written in Japanese but I guess Google Translate would give you a gist of it pretty easily.