Name
max_size
Synopsis
$ua
->max_size([size
])
Sets or returns the maximum
size
(in bytes) for response content.
The default is undef
, which
means that there is no limit. If the returned content is partial
because the size limit was exceeded, then an X-Content-Range
header will be added to the response.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.