Skip to content

Commit c610be4

Browse files
Theo van Hoeseloalders
authored andcommitted
add POD
1 parent c43a3cf commit c610be4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/HTTP/Status.pm

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,15 @@ that it has erred or is incapable of performing the request.
272272
273273
This function is B<not> exported by default.
274274
275+
=item is_cacheable_by_default( $code )
276+
277+
Return TRUE if C<$code> indicates that a response is cacheable by default, and
278+
it can be reused by a cache with heuristic expiration. All other status codes
279+
are not cacheable by default. See L<RFC 7231 - HTTP/1.1 Semantics and Content,
280+
Section 6.1. Overview of Status Codes>
281+
282+
This function is B<not> exported by default.
283+
275284
=back
276285
277286
=head1 BUGS

0 commit comments

Comments
 (0)