diff options
author | franck cuny <franck@lumberjaph.net> | 2011-07-14 14:42:23 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-07-26 13:21:02 +0200 |
commit | 68dea6f48183b2a5f456a91a0a145230445847ec (patch) | |
tree | d46fa662591ead9ca0d39e51c5c6a5542549ee48 | |
parent | add test for loading a middleware outside N::H::Spore namespace (diff) | |
download | net-http-spore-68dea6f48183b2a5f456a91a0a145230445847ec.tar.gz |
add query_string to debug
Signed-off-by: franck cuny <franck@lumberjaph.net>
-rw-r--r-- | lib/Net/HTTP/Spore/Role/Request.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Net/HTTP/Spore/Role/Request.pm b/lib/Net/HTTP/Spore/Role/Request.pm index c900610..0a958b9 100644 --- a/lib/Net/HTTP/Spore/Role/Request.pm +++ b/lib/Net/HTTP/Spore/Role/Request.pm @@ -90,6 +90,7 @@ sub _debug_request { $self->_trace_msg( '> %s %s', $request->method, $request->path ); $self->_trace_msg( '> Host: %s', $request->host ); + $self->_trace_msg( '> Query String: %s', $request->env->{QUERY_STRING}); foreach my $key ( $request->headers->header_field_names ) { $self->_trace_msg( '> %s: %s', $key, $request->header($key) ); } |