...
|
...
|
@@ -27,7 +27,10 @@ |
|
|
|
|
|
NSString* const requestFiletype = [[[request URL] pathExtension] lowercaseString];
|
|
|
|
|
|
return [@"webp" isEqualToString:requestFiletype];
|
|
|
BOOL webpEnable = [[[[request URL] absoluteString] lowercaseString] containsString:@"/format/webp"];
|
|
|
|
|
|
return [@"webp" isEqualToString:requestFiletype] || webpEnable;
|
|
|
|
|
|
}
|
|
|
|
|
|
+ (NSURLRequest *)canonicalRequestForRequest:(NSURLRequest *)request {
|
...
|
...
|
|