base fetch: call ComputeCaching() on the pagespeed response headers
Merge of Otto's pull request #61
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user