From dbec6b509e89f21628dc90fd8a2ed8d299135b24 Mon Sep 17 00:00:00 2001 From: adamw Date: Fri, 4 Aug 2017 11:28:24 +0200 Subject: Readme fixes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 05a56d0..bf4d4d2 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ type specifies the type of the body. ## URI interpolator -Using the URI interpolator it's possible to conveniently create `java.net.URI` +Using the URI interpolator it's possible to conveniently create `Uri` instances, which can then be used to specify request endpoints, for example: ```scala @@ -157,7 +157,7 @@ if `None`. * optional values in the host part will be expanded to a subdomain if `Some`, removed if `None` * sequences in the host part will be expanded to a subdomain sequence -* if a string contains the protocol is embedded *as the first element*, it will +* if a string containing the protocol is embedded *as the very beginning*, it will not be escaped, allowing to embed entire addresses as prefixes, e.g.: `uri"$endpoint/login"`, where `val endpoint = "http://example.com/api"`. -- cgit v1.2.3