# REFACTORING
+## PSGI
+
+### Blockers
+
+ * Add some tests for Catalyst::Test::local_request
+ * Test all the options work on all of the scripts
+ * Document how to use your own .psgi (and how you need to do ReverseProxy yourself if you do)
+ * Document migration for setting engine in setup
+ * Document migration for setting engine in $ENV
+ * Fix Catalyst::Engine::PSGI .psgi script and in app root running tests.
+
+### Nice to have
+
+ * throw out Catalyst::Test's remote_request in favour of
+ Plack::Test::ExternalServer
+ * make sure we're running under a server that support psgi.streaming - maybe
+ just load the BufferedWrite middleware, although that might break things
+ relying on ->write doing an unbuffered write
+ * throw away the restarter and allow using the restarters Plack provides
+ * remove per-request state from the engine instance
+ * be smarter about how we use PSGI - not every response needs to be delayed
+ and streaming
+ * lighttpd, iis6, and nginx path-info fixers as proper middlewars as part of Plack
+
## The horrible hack for plugin setup - replacing it:
* Have a look at the Devel::REPL BEFORE_PLUGIN stuff