WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 167131
It's not possible to perform a POST request with HTTPBody content in a WKWebView
https://bugs.webkit.org/show_bug.cgi?id=167131
Summary
It's not possible to perform a POST request with HTTPBody content in a WKWebView
Anders Carlsson
Reported
2017-01-17 12:29:01 PST
It's not possible to perform a POST request with HTTPBody content in a WKWebView
Attachments
Patch
(1.96 KB, patch)
2017-01-17 12:31 PST
,
Anders Carlsson
bdakin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2017-01-17 12:31:31 PST
Created
attachment 299052
[details]
Patch
Anders Carlsson
Comment 2
2017-01-17 12:59:03 PST
Committed
r210825
: <
http://trac.webkit.org/changeset/210825
>
Brady Eidson
Comment 3
2017-01-30 09:14:07 PST
***
Bug 145410
has been marked as a duplicate of this bug. ***
emakgul12
Comment 4
2017-03-18 07:42:27 PDT
In order to make use of solution, what should I do?
Brady Eidson
Comment 5
2017-06-08 22:24:40 PDT
(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.
kam.voick
Comment 6
2018-03-06 02:41:31 PST
Hello, this appears to still doesn't work for me. HTTPBody (inside decidePolicyFor navigationAction: WKNavigationAction) returns nil with POST (iOS11).
Brady Eidson
Comment 7
2018-04-04 09:53:31 PDT
(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 > (iOS11).
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug