Created
May 2, 2010 02:53
-
-
Save jnareb/386848 to your computer and use it in GitHub Desktop.
difference between Dumper($environtment) for HTTP::Server::PSGI and HTTP::Servere::Simple::PSGI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- log.1 2010-05-02 04:49:06.000000000 +0200 | |
+++ log.2 2010-05-02 04:49:23.000000000 +0200 | |
@@ -1,7 +1,7 @@ | |
-HTTP::Server::PSGI: Accepting connections at http://0:5000/ | |
+HTTP::Server::Simple::PSGI: Accepting connections at http://0:5000/ | |
$VAR1 = { | |
- 'SERVER_NAME' => 0, | |
'SCRIPT_NAME' => '', | |
+ 'SERVER_NAME' => 'localhost.localdomain', | |
'HTTP_ACCEPT_ENCODING' => 'gzip,deflate', | |
'PATH_INFO' => '/', | |
'HTTP_CONNECTION' => 'keep-alive', | |
@@ -11,9 +11,8 @@ | |
'SERVER_SOFTWARE' => 'CGI-Emulate-PSGI', | |
'QUERY_STRING' => '', | |
'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 MultiZilla/1.7.9.0a', | |
- 'REMOTE_PORT' => 13737, | |
+ 'REMOTE_PORT' => 15451, | |
'SERVER_PORT' => 5000, | |
- 'psgix.input.buffered' => 1, | |
'HTTP_CACHE_CONTROL' => 'max-age=0', | |
'HTTP_ACCEPT_LANGUAGE' => 'pl,en;q=0.7,en-us;q=0.3', | |
'REMOTE_ADDR' => '127.0.0.1', | |
@@ -21,9 +20,9 @@ | |
'SERVER_PROTOCOL' => 'HTTP/1.1', | |
'REQUEST_URI' => '/', | |
'GATEWAY_INTERFACE' => 'CGI/1.1', | |
- 'psgix.io' => bless( \*Symbol::GEN1, 'IO::Socket::INET' ), | |
+ 'psgix.io' => bless( \*Symbol::GEN0, 'FileHandle' ), | |
'HTTPS' => 'OFF', | |
'REMOTE_HOST' => 'localhost', | |
'HTTP_HOST' => '0:5000' | |
}; | |
-127.0.0.1 - - [02/maj/2010 04:49:06] "GET / HTTP/1.1" 200 5712 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 MultiZilla/1.7.9.0a" | |
+127.0.0.1 - - [02/maj/2010 04:49:23] "GET / HTTP/1.1" 200 2146 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 MultiZilla/1.7.9.0a" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment