diff options
author | adamw <adam@warski.org> | 2017-07-15 12:14:27 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-15 12:14:27 +0200 |
commit | aeea53b49309cbfcbfcdf8a466c3cde418bd58df (patch) | |
tree | dd1546ffabc80185118ce445089ba5ebdb8e8e16 /README.md | |
parent | 8d9145a04cdd21a471fba61fc19203759b95514d (diff) | |
download | sttp-aeea53b49309cbfcbfcdf8a466c3cde418bd58df.tar.gz sttp-aeea53b49309cbfcbfcdf8a466c3cde418bd58df.tar.bz2 sttp-aeea53b49309cbfcbfcdf8a466c3cde418bd58df.zip |
Better URI interpolator
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |