Skip to content

Commit

Permalink
Update README examples with the new default Accept-Encoding value u…
Browse files Browse the repository at this point in the history
…sed by Requests.
  • Loading branch information
jkbrzt committed Feb 14, 2015
1 parent 6e7e2f2 commit 596fdc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand All @@ -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/<version>
Host: <taken-from-URL>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 596fdc8

Please sign in to comment.