diff --git a/kordophone/Bridge/Operations/MBIMFetchAttachmentOperation.m b/kordophone/Bridge/Operations/MBIMFetchAttachmentOperation.m index be39d9f..0135d1a 100644 --- a/kordophone/Bridge/Operations/MBIMFetchAttachmentOperation.m +++ b/kordophone/Bridge/Operations/MBIMFetchAttachmentOperation.m @@ -124,7 +124,9 @@ mimeType = [NSString stringWithFormat:@"image/%@", extension]; } - response = [[MBIMDataResponse alloc] initWithData:responseData contentType:mimeType]; + MBIMDataResponse *dataResponse = [[MBIMDataResponse alloc] initWithData:responseData contentType:mimeType]; + dataResponse.httpHeaders[@"Cache-Control"] = @"public, immutable, max-age=31536000"; + response = dataResponse; } while (0); self.serverCompletionBlock(response);