mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-16 10:14:38 +02:00
add remove header http class
This commit is contained in:
parent
9005390af2
commit
6c47f4cef1
@ -82,6 +82,12 @@ sub add_header {
|
||||
$self->{add_headers}->{$options{key}} = $options{value};
|
||||
}
|
||||
|
||||
sub remove_header {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
delete $self->{add_headers}->{$options{key}} if (defined($self->{add_headers}->{$options{key}}));
|
||||
}
|
||||
|
||||
sub check_options {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user