In our WKWebView, we have a multi part form POST request which we need to inspect and conditionally handle.
Currently, we're trying this using the WKNavigationDelegate's webView:decidePolicyForNavigationAction:decisionHandler:
method to gain access to the NSURLRequest. (navigationAction.request
).
But when we inspect the request here, we can verify that it is the multi part form POST, however, the [request HTTPBody]
returns nil
.