The age/freshness methods now take an optional 'time' argument
commit7170259af7c4d22ac68b94d46060ddfa12c70512
authorGisle Aas <gisle@aas.no>
Wed, 5 Nov 2008 15:41:38 +0000 (5 16:41 +0100)
committerGisle Aas <gisle@aas.no>
Wed, 5 Nov 2008 15:41:38 +0000 (5 16:41 +0100)
tree29ea76d9a7314f58b732e64d09c05b0761b5a127
parentc744d54f3abe99da99712b4e08cb57ba749f194a
The age/freshness methods now take an optional 'time' argument

Since the is_fresh and fresh_until methods call the others and pass
on their time value this avoids reading the time multiple times during
a call.  The new argument currently stays undocumented as it's only
an optimization and not really something the user should be concerned
about.
lib/HTTP/Response.pm