From 9d2225cb750eaa15ee958ef0fa3716ffa5d4b6ba Mon Sep 17 00:00:00 2001 From: Tobias Pfeiffer Date: Tue, 3 Dec 2024 13:57:56 +0100 Subject: [PATCH] Clarify that raw disables both decompression and decoding (#439) --- lib/req/steps.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/req/steps.ex b/lib/req/steps.ex index 1836532..4366e98 100644 --- a/lib/req/steps.ex +++ b/lib/req/steps.ex @@ -1391,6 +1391,8 @@ defmodule Req.Steps do ## Options * `:raw` - if set to `true`, disables response body decompression. Defaults to `false`. + + Note: `:raw` option also disables response body decoding in the `decode_body/1` step. ## Examples @@ -1584,6 +1586,8 @@ defmodule Req.Steps do * `:raw` - if set to `true`, disables response body decoding. Defaults to `false`. + Note: `:raw` option also disables response body decompression in the `decompress_body/1` step. + ## Examples Decode JSON: