aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-21 14:43:20 +0200
committeradamw <adam@warski.org>2017-07-21 14:43:20 +0200
commita6b4a71d59da928ddb326671b1058501bb1a45c5 (patch)
tree8b1a2bc5d4196ff252d5ccd00cd546657f92fd14 /README.md
parent2d099f6832f6e362b9a4cd48e81a16c8d77adeaf (diff)
downloadsttp-a6b4a71d59da928ddb326671b1058501bb1a45c5.tar.gz
sttp-a6b4a71d59da928ddb326671b1058501bb1a45c5.tar.bz2
sttp-a6b4a71d59da928ddb326671b1058501bb1a45c5.zip
AcceptEncoding + response decompression
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 811da8b..357142e 100644
--- a/README.md
+++ b/README.md
@@ -72,10 +72,10 @@ First, import:
import com.softwaremill.sttp._
```
-This brings into scope `sttp`, the empty request, from which all request
-definitions start. This empty request can be customised, each time yielding
-a new, immutable request description (unless a mutable body is set on the
-request, such as a byte array).
+This brings into scope `sttp`, the starting request (it's an empty request
+with the `Accept-Encoding: gzip, defalte` header added). This request can
+be customised, each time yielding a new, immutable request description
+(unless a mutable body is set on the request, such as a byte array).
For example, we can set a cookie, string-body and specify that this should
be a `POST` request to a given URI: