aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-15 12:14:27 +0200
committeradamw <adam@warski.org>2017-07-15 12:14:27 +0200
commitaeea53b49309cbfcbfcdf8a466c3cde418bd58df (patch)
treedd1546ffabc80185118ce445089ba5ebdb8e8e16 /README.md
parent8d9145a04cdd21a471fba61fc19203759b95514d (diff)
downloadsttp-aeea53b49309cbfcbfcdf8a466c3cde418bd58df.tar.gz
sttp-aeea53b49309cbfcbfcdf8a466c3cde418bd58df.tar.bz2
sttp-aeea53b49309cbfcbfcdf8a466c3cde418bd58df.zip
Better URI interpolator
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a391e6..c9444ee 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,8 @@ query parameters. Maps and sequences of tuples can also contain optional values,
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 not be escaped, allowing to specialize
+entire addresses, e.g.: `uri"$endpoint/login"`, where `val endpoint = "http://example.com/api"`.
A fully-featured example: