It's not possible to perform a POST request with HTTPBody content in a WKWebView
Created attachment 299052 [details]
Committed r210825: <http://trac.webkit.org/changeset/210825>
*** Bug 145410 has been marked as a duplicate of this bug. ***
In order to make use of solution, what should I do?
(In reply to emakgul12 from comment #4)
> In order to make use of solution, what should I do?
- If you are a registered developer, install a developer beta of iOS11 or High Sierra and try it
- If you aren't, then wait for the first public beta of the new OSes and try it
- If you really don't want to bother trying in a beta, then wait for the public release of the new OSes and try it.
Hello, this appears to still doesn't work for me. HTTPBody (inside decidePolicyFor navigationAction: WKNavigationAction) returns nil with POST (iOS11).
(In reply to kam.voick from comment #6)
> Hello, this appears to still doesn't work for me. HTTPBody (inside
> decidePolicyFor navigationAction: WKNavigationAction) returns nil with POST
This bug fix was about allowing the app developer to specify an HTTPBody with their request.
e.g. [WKWebView loadRequest:nsURLRequestWithHTTPBody] did *not* used to work, and now it does work.
What you are reporting - the inability to inspect the HTTPBody inside the decidePolicyForNavigationAction callback - is a different bug.