lopnor/Plack-Middleware-ReverseProxy — pull request #7 by giganteous (2012-07-25 21:35:06+00:00)
Title: Fix code to make tests work

I've been trying to get through the tests on 0.14. I couldn't so I tried fixing the code. It seems the SERVER_PORT should be changed if the defaultport is different.

This change walks through the code okay.

Now that I write it down, i'm wondering if https://foo.bar:80 is valid, and what will happen to http://foo.bar:443. Would that be a valid testcase?

Cheers,