summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-07-14 14:42:23 +0200
committerfranck cuny <franck@lumberjaph.net>2011-07-26 13:21:02 +0200
commit68dea6f48183b2a5f456a91a0a145230445847ec (patch)
treed46fa662591ead9ca0d39e51c5c6a5542549ee48
parentadd test for loading a middleware outside N::H::Spore namespace (diff)
downloadnet-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.pm1
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) );
     }