summaryrefslogtreecommitdiff
path: root/lib/Net/HTTP/Console/Dispatcher/Set.pm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Net/HTTP/Console/Dispatcher/Set.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/HTTP/Console/Dispatcher/Set.pm b/lib/Net/HTTP/Console/Dispatcher/Set.pm
index d514f37..c72b09b 100644
--- a/lib/Net/HTTP/Console/Dispatcher/Set.pm
+++ b/lib/Net/HTTP/Console/Dispatcher/Set.pm
@@ -21,12 +21,12 @@ class Net::HTTP::Console::Dispatcher::Set with Net::HTTP::Console::Dispatcher {
method _set_header($header, $value) {
$self->application->set_header($header, $value);
- $self->application->print("header $header set to $value");
+ $self->application->message("header $header set to $value");
}
method _unset_header($header) {
$self->application->delete_header($header);
- $self->application->print("header $header unset");
+ $self->application->message("header $header unset");
}
}