Merge branch 'master' of https://github.com/centreon/centreon-plugins
This commit is contained in:
commit
2c96fe3550
|
@ -297,7 +297,14 @@ sub request {
|
||||||
$self->{output}->exit();
|
$self->{output}->exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$self->{headers} = $response->headers;
|
||||||
return $response->content;
|
return $response->content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub get_header {
|
||||||
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
|
return $self->{headers};
|
||||||
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
Loading…
Reference in New Issue