From 851004ade068d4ceb3b808d2f0f55c8ef57a324a Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Fri, 16 Aug 2013 16:43:22 +0100 Subject: Update WebView.postUrl documentation. Clarify format of the 'data' parameter. Bug: 10188709 Change-Id: Ib0f7553153916ed7b5cc611da5eb481979bf3f93 --- core/java/android/webkit/WebView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 0224fbe6209a..03bde70299c6 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -780,7 +780,8 @@ public class WebView extends AbsoluteLayout * {@link #loadUrl(String)} instead. * * @param url the URL of the resource to load - * @param postData the data will be passed to "POST" request + * @param postData the data will be passed to "POST" request, which must be + * be "application/x-www-form-urlencoded" encoded. */ public void postUrl(String url, byte[] postData) { checkThread(); -- cgit v1.2.3-59-g8ed1b