I want to detect the response MimeType so that accordingly handle the type of file that's being downloaded. So, for example, if the file type is `application/vnd.ms-excel` then I want to take certain action but, with WKWebView it is always returning `text/html` in `-(void)webView:(WKWebView *)webView decidePolicyForNavigationResponse:(WKNavigationResponse *)navigationResponse decisionHandler:(void (^)(WKNavigationResponsePolicy))decisionHandler`
I noticed that if I debug the WKWebView using Safari then the response MimeType is correctly displaying as `application/vnd.ms-excel` but, maybe because of QuickLook feature available in WkWebView the content is getting converted into HTML and responding `text/html`.
Is there any way to detect the mimeType apart from the above option that returns the actual file's mimeType?