base fetch: call ComputeCaching() on the pagespeed response headers

Merge of Otto's pull request #61
This commit is contained in:
Jeff Kaufman
2012-11-19 11:07:22 -05:00
parent e6bd7b7213
commit eaef938988
+3
View File
@@ -49,6 +49,9 @@ void NgxBaseFetch::PopulateResponseHeaders() {
HttpAttributes::kContentType,
ngx_http_pagespeed_str_to_string_piece(
request_->headers_out.content_type));
//TODO(oschaaf): ComputeCaching should be called in setupforhtml()?
response_headers()->ComputeCaching();
}
template<class HeadersT>