class HTTP::Response::Caching
def server_response_time
-
(Time)
- the time at which the server generated this response.
def server_response_time headers.get("Date"). map(&method(:to_time_or_epoch)). max || begin # set it if it is not already set headers["Date"] = received_at.httpdate received_at end end