On Wednesday, May 18, 2016 at 4:08:06 PM UTC+2, P.G.Taboada wrote: > > Hi Thomas, > > I do not want to complain - I am stating an issue I am having - and I find > the naming misleading. >
Which naming exactly? encodeQueryString? > I have to build an URL for a http request - key-value pairs in the query > string. > > As far as I understood, application/x-www-form-urlencoded does not apply > to "simple GET queries" - am I wrong? > Yes and no. Technically, a query-string is "free form", so you're free to assign any meaning you want to the unencoded "+" character; but in practice everybody uses application/x-www-form-urlencoding where "+" is synonymous for a space. See https://html.spec.whatwg.org/multipage/forms.html#submit-mutate-action, https://url.spec.whatwg.org/, and https://www.w3.org/TR/html4/interact/forms.html#h-17.13.3.4 (historical) See also https://jax-rs-spec.java.net/nonav/2.0-rev-a/apidocs/javax/ws/rs/core/UriBuilder.html, https://hc.apache.org/httpcomponents-client-4.5.x/httpclient/xref/org/apache/http/client/utils/URIBuilder.html#194, https://hc.apache.org/httpcomponents-client-4.5.x/httpclient/xref/org/apache/http/client/utils/URIBuilder.html#109 and https://hc.apache.org/httpcomponents-client-4.5.x/httpclient/apidocs/org/apache/http/client/utils/URLEncodedUtils.html -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
