addQueryParameter encodes value

33 views
Skip to first unread message

Elisabeth Anderson

unread,
Feb 4, 2015, 10:37:20 AM2/4/15
to dispatc...@googlegroups.com
Hi,

My code makes a request to a url I'm creating with a query parameter as:

val request = url("http://domain.com")
  .addQueryParameter("foo", "multi+part")

...although this results in a URL which looks like:


...rather than the unencoded value of foo=multi+part

Is there any way to prevent it from encoding this query parameter?

Thanks,

Beth

Elisabeth Anderson

unread,
Feb 6, 2015, 8:03:40 AM2/6/15
to dispatc...@googlegroups.com

Actually, my apologies, I can still use the encoded value with this server. :)

--
You received this message because you are subscribed to a topic in the Google Groups "Dispatch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dispatch-scala/p9AsXVY4quM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dispatch-scal...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages