aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-08-04 11:28:24 +0200
committeradamw <adam@warski.org>2017-08-04 11:28:47 +0200
commitdbec6b509e89f21628dc90fd8a2ed8d299135b24 (patch)
tree9748fb4624f3614415da59746f0b6619b2634f20 /README.md
parent083d97ca063f741a7300333db03133513bf6d5b3 (diff)
downloadsttp-dbec6b509e89f21628dc90fd8a2ed8d299135b24.tar.gz
sttp-dbec6b509e89f21628dc90fd8a2ed8d299135b24.tar.bz2
sttp-dbec6b509e89f21628dc90fd8a2ed8d299135b24.zip
Readme fixes
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
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"`.