HEAD /agents doesn't work because app has /agents link. Use GET /ping instead.

This commit is contained in:
Daniel Nichter
2013-09-18 20:37:09 -07:00
parent d6a46cfd33
commit 488b5de0b7
2 changed files with 22 additions and 48 deletions

View File

@@ -159,23 +159,6 @@ sub get {
return $resource_objects;
}
sub head {
my ($self, %args) = @_;
have_required_args(\%args, qw(
link
)) or die;
my ($link) = $args{link};
eval {
$self->_request(
method => 'HEAD',
link => $link,
);
};
return $EVAL_ERROR;
}
# For a successful POST, the server sets the Location header with
# the URI of the newly created resource.
sub post {