diff options
author | adamw <adam@warski.org> | 2017-08-04 11:28:24 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-08-04 11:28:47 +0200 |
commit | dbec6b509e89f21628dc90fd8a2ed8d299135b24 (patch) | |
tree | 9748fb4624f3614415da59746f0b6619b2634f20 | |
parent | 083d97ca063f741a7300333db03133513bf6d5b3 (diff) | |
download | sttp-dbec6b509e89f21628dc90fd8a2ed8d299135b24.tar.gz sttp-dbec6b509e89f21628dc90fd8a2ed8d299135b24.tar.bz2 sttp-dbec6b509e89f21628dc90fd8a2ed8d299135b24.zip |
Readme fixes
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"`. |