[Webkit-unassigned] [Bug 129379] Provide webkit_uri_request_get_soup_message for adding custom POST data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 12 11:52:53 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=129379
Leo Ufimtsev <leonidas at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |leonidas at redhat.com
--- Comment #4 from Leo Ufimtsev <leonidas at redhat.com> ---
In the meantime:
- We've implemented a workaround.
We use Java to do a http request where we set the postData ourselfes. Then we load webkit2 with the resulting result form the server.
It's not ideal, but works.
(If curious: https://git.eclipse.org/r/#/c/112732/16/bundles/org.eclipse.swt/Eclipse+SWT+WebKit/gtk/org/eclipse/swt/browser/WebKit.java)
- Yea, ideally, we just need a way to set the method to be 'post' and manually set the postData.
Example post calls:
1) Query bugzilla:
URL: https://bugs.eclipse.org/bugs/buglist.cgi
PostData payload: emailassigned_to1=1&bug_severity=enhancement&bug_status=NEW&email1=platform-swt-inbox&emailtype1=substring
(Something like this can be done via URL/GET but has length limit of 20** chars. Post has no length limit).
2) Query some server with custom data:
URL: http://httpbin.org/post
PostData payload: Plain text passed as postData
Header/content type: content-type: text/plain; charset=UTF-8
If this does get implemented at one point, may we please kindly request you to post a comment in our bugzilla as we lack bugs.webkit.org hooks:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528550
Thank you!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171212/084e4cde/attachment-0001.html>
More information about the webkit-unassigned
mailing list