NAME

Kubernetes::REST::HTTPResponse - HTTP response object

VERSION

version 1.107

SYNOPSIS

use Kubernetes::REST::HTTPResponse;

my $res = Kubernetes::REST::HTTPResponse->new(
    status => 200,
    content => '{"items":[]}',
);

DESCRIPTION

Internal HTTP response object used by Kubernetes::REST.

content

The response body content, as bytes: an IO backend must undo Content-Encoding (e.g. gzip) but leave the charset alone, and never decode it itself. See "Encoding contract" in Kubernetes::REST::Role::IO.

status

The HTTP status code (e.g., 200, 404, 500).

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/kubernetes-rest/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHORS

  • Torsten Raudssus <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004