No need for info logging of successful headers and data. Unnecessary fills up the log output.
Keeping it in track with the request logging in case of a correct response (<300). In case of status >=300, logging the headers and data.
(Personally, i wouldn't log headers and data in warning cases as well, typically, if someone wants to figure out what is happening on a failed call, debug output should be enabled).
No need for info logging of successful headers and data. Unnecessary fills up the log output.
Keeping it in track with the request logging in case of a correct response (<300). In case of status >=300, logging the headers and data.
(Personally, i wouldn't log headers and data in warning cases as well, typically, if someone wants to figure out what is happening on a failed call, debug output should be enabled).