summary refs log tree commit diff
path: root/lib/Net/HTTP/Console/Dispatcher/View.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/HTTP/Console/Dispatcher/View.pm')
-rw-r--r--lib/Net/HTTP/Console/Dispatcher/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/Console/Dispatcher/View.pm b/lib/Net/HTTP/Console/Dispatcher/View.pm
index 5b52fc0..bfc50f0 100644
--- a/lib/Net/HTTP/Console/Dispatcher/View.pm
+++ b/lib/Net/HTTP/Console/Dispatcher/View.pm
@@ -19,7 +19,7 @@ class Net::HTTP::Console::Dispatcher::View with Net::HTTP::Console::Dispatcher {
         }
         elsif ($key eq 'defined_headers') {
             foreach ($self->application->all_headers) {
-                $self->application->print( $_->[0] . ': ' . $_->[1]);
+                $self->application->message( $_->[0] . ': ' . $_->[1]);
             }
         }
     }