Please sign in to comment.
Improved Plack::Test::Suite 'validate env' to test for SCRIPT_NAME.
In http://search.cpan.org/~miyagawa/PSGI-1.03/PSGI.pod, "The Environment": SERVER_NAME, SERVER_PORT: When combined with SCRIPT_NAME and PATH_INFO, these variables can be used to complete the URL. Note, however, that HTTP_HOST, if present, should be used in preference to SERVER_NAME for reconstructing the request URL. SERVER_NAME and SERVER_PORT can never be empty strings, and so are always required. The 'validate env' test tested SERVER_NAME, SERVER_PORT & PATH_INFO, but not PATH_INFO. ps. There also is one minor code improvement.
- Loading branch information...