This reverts commit 2b6e6e4.
* Changes the calling convention from $r->env($e) to $e = $r->env; * Uses a "template" hash so a new env can be set up without a lot of re-hashing. * The template uses placeholders for some common headers. These "disappear" when you iterate through the keys or try to access them directly.
Test coverage in next commit as part of 03-env-hash.t
simple_client() isn't as simple as i hoped, but it's still pretty slick without having to resort to LWP+forking.
* SERVER_NAME, SERVER_PORT from sockhost/sockport * s/multithreaded/multithread/ typo * add 'psgi.multiprocess' => 0