Merge pull request #254 from bcournaud/master

Add get_header to http plugin
This commit is contained in:
qgarnier 2015-12-23 10:17:40 +01:00
commit ee687031f4

View File

@ -297,7 +297,14 @@ sub request {
$self->{output}->exit();
}
$self->{headers} = $response->headers;
return $response->content;
}
sub get_header {
my ($self, %options) = @_;
return $self->{headers};
}
1;