From 596fdc8c7e76f01197a128649dbb91bbca46f7b1 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Sat, 14 Feb 2015 17:55:34 +0100 Subject: [PATCH] Update README examples with the new default `Accept-Encoding` value used by Requests. --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 4860470a..b72a8427 100644 --- a/README.rst +++ b/README.rst @@ -381,7 +381,7 @@ Simple example: PUT / HTTP/1.1 Accept: application/json - Accept-Encoding: identity, deflate, compress, gzip + Accept-Encoding: gzip, deflate Content-Type: application/json Host: example.org @@ -504,7 +504,7 @@ To set custom headers you can use the ``Header:Value`` notation: GET / HTTP/1.1 Accept: */* - Accept-Encoding: identity, deflate, compress, gzip + Accept-Encoding: gzip, deflate Cookie: valued-visitor=yes;foo=bar Host: example.org Referer: http://httpie.org/ @@ -518,7 +518,7 @@ There are a couple of default headers that HTTPie sets: GET / HTTP/1.1 Accept: */* - Accept-Encoding: identity, deflate, compress, gzip + Accept-Encoding: gzip, deflate User-Agent: HTTPie/ Host: @@ -726,7 +726,7 @@ documentation examples: $ http --verbose PUT httpbin.org/put hello=world PUT /put HTTP/1.1 Accept: application/json - Accept-Encoding: identity, deflate, compress, gzip + Accept-Encoding: gzip, deflate Content-Type: application/json Host: httpbin.org User-Agent: HTTPie/0.2.7dev